mirror of
https://github.com/boostorg/unordered.git
synced 2026-04-28 18:02:21 +02:00
Remember to disable exceptions before checking final value
This commit is contained in:
@@ -23,7 +23,8 @@ template <class T> struct self_swap_base : public test::exception_base
|
||||
typedef T data_type;
|
||||
T init() const { return T(values.begin(), values.end()); }
|
||||
|
||||
void run(T& x) const {
|
||||
void run(T& x) const
|
||||
{
|
||||
x.swap(x);
|
||||
|
||||
DISABLE_EXCEPTIONS;
|
||||
|
||||
Reference in New Issue
Block a user