summaryrefslogtreecommitdiff
path: root/asl/tests/types.hpp
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2025-06-26 14:29:16 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2025-06-26 18:25:00 +0200
commit43ab95880d54319ed8c02133c11392b37557ce58 (patch)
tree3c360015c20b398100ff3df380d06a690782c0a5 /asl/tests/types.hpp
parent47c667740560f06bb9f0bec761de816ba1dc1290 (diff)
Add pop method to chunked_buffer
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;
}