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:
Tom Tromey
2022-05-01 00:28:35 -06:00
parent 1ae43feabb
commit 3101e4a1c5

View File

@@ -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. */