mirror of
https://github.com/boostorg/unordered.git
synced 2025-10-08 05:31:00 +02:00
Catch exceptions by reference
This commit is contained in:
@@ -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