diff options
Diffstat (limited to 'gdb/break-catch-throw.c')
-rw-r--r-- | gdb/break-catch-throw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/break-catch-throw.c b/gdb/break-catch-throw.c index e71a885c4f2..5318e5f9a65 100644 --- a/gdb/break-catch-throw.c +++ b/gdb/break-catch-throw.c @@ -382,7 +382,7 @@ handle_gnu_v3_exceptions (int tempflag, std::string &&except_rx, the right thing. */ cp->type = bp_breakpoint; cp->kind = ex_event; - cp->exception_rx = except_rx; + cp->exception_rx = std::move (except_rx); cp->pattern = std::move (pattern); re_set_exception_catchpoint (cp.get ()); |