forked from boostorg/unordered
Catch exceptions by reference
This commit is contained in:
1 parent
92ce66be64
commit
07758b7af8
2 files changed
+5
-5
No files matched your search
@@ -90,7 +90,7 @@ template <class T> struct swap_base : public test::exception_base
|
||||
{
|
||||
try {
|
||||
d.x.swap(d.y);
|
||||
} catch (std::runtime_error) {
|
||||
} catch (std::runtime_error&) {
|
||||
}
|
||||
|
||||
DISABLE_EXCEPTIONS;
|
||||
|
||||
Reference in new issue
Block a user