diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-06-26 14:29:16 +0200 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-06-26 18:25:00 +0200 |
commit | 43ab95880d54319ed8c02133c11392b37557ce58 (patch) | |
tree | 3c360015c20b398100ff3df380d06a690782c0a5 /asl/tests | |
parent | 47c667740560f06bb9f0bec761de816ba1dc1290 (diff) |
Add pop method to chunked_buffer
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; } |