diff options
Diffstat (limited to 'asl/tests')
-rw-r--r-- | asl/tests/types.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asl/tests/types.hpp b/asl/tests/types.hpp index d47c237..d608e8e 100644 --- a/asl/tests/types.hpp +++ b/asl/tests/types.hpp @@ -77,7 +77,7 @@ struct DestructorObserver { if (this != &other) { - destroyed = asl::exchange(other.destroyed, nullptr); + asl::swap(destroyed, other.destroyed); } return *this; } |