mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
Disable copying for breakpoint
It seems to me that breakpoint should use DISABLE_COPY_AND_ASSIGN. This patch does this.
This commit is contained in:
@@ -620,6 +620,9 @@ using bp_location_range = next_range<bp_location>;
|
||||
|
||||
struct breakpoint
|
||||
{
|
||||
breakpoint () = default;
|
||||
DISABLE_COPY_AND_ASSIGN (breakpoint);
|
||||
|
||||
virtual ~breakpoint () = default;
|
||||
|
||||
/* Allocate a location for this breakpoint. */
|
||||
|
||||
Reference in New Issue
Block a user