[DynInst_API:] [dyninst/dyninst] 3d0600: fix usage of remove algorithm (#1778)


Date: Mon, 23 Sep 2024 14:57:35 -0700
From: kupsch <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 3d0600: fix usage of remove algorithm (#1778)
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: 3d060063945268f8c02fbb7c6fa0f50effcd50ab
      https://github.com/dyninst/dyninst/commit/3d060063945268f8c02fbb7c6fa0f50effcd50ab
  Author: kupsch <kupsch@xxxxxxxxxxx>
  Date:   2024-09-23 (Mon, 23 Sep 2024)

  Changed paths:
    M symtabAPI/src/indexed_symbols.hpp

  Log Message:
  -----------
  fix usage of remove algorithm (#1778)

new compilers warned that std::remove result was ignored as this
is almost always an error.  Saved the result and used in a call
to the container's erase method to actually delete the elements.



To unsubscribe from these emails, change your notification settings at https://github.com/dyninst/dyninst/settings/notifications
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 3d0600: fix usage of remove algorithm (#1778), kupsch <=