summaryrefslogtreecommitdiff
path: root/asl/tests/types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'asl/tests/types.hpp')
-rw-r--r--asl/tests/types.hpp2
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;
}