Make exception handling more efficient
[deliverable/binutils-gdb.git] / gdb / event-top.c
index bb8ba5cfe5779747f59d95db40280c4faba3a4b1..9fa46c8ad44bbe2e91ef479c54e97a219269cb8d 100644 (file)
@@ -193,7 +193,7 @@ gdb_rl_callback_read_char_wrapper (gdb_client_data client_data)
 
   /* Rethrow using the normal EH mechanism.  */
   if (gdb_expt.reason < 0)
-    throw_exception (gdb_expt);
+    throw_exception (std::move (gdb_expt));
 }
 
 /* GDB's readline callback handler.  Calls the current INPUT_HANDLER,
This page took 0.023509 seconds and 4 git commands to generate.