projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make exception handling more efficient
[deliverable/binutils-gdb.git]
/
gdb
/
common
/
new-op.c
diff --git
a/gdb/common/new-op.c
b/gdb/common/new-op.c
index b230f111ae71924f9b2324ca3c36155d810c5f4c..7c5dba0be6da571adf38a6af4c47807159ad8bf6 100644
(file)
--- a/
gdb/common/new-op.c
+++ b/
gdb/common/new-op.c
@@
-64,9
+64,9
@@
operator new (std::size_t sz)
{
malloc_failure (sz);
}
- catch (
const
gdb_exception &ex)
+ catch (gdb_exception &ex)
{
- throw gdb_quit_bad_alloc (
ex
);
+ throw gdb_quit_bad_alloc (
std::move (ex)
);
}
}
return p;
This page took
0.024645 seconds
and
4
git commands to generate.