From 43ab95880d54319ed8c02133c11392b37557ce58 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Thu, 26 Jun 2025 14:29:16 +0200 Subject: Add pop method to chunked_buffer --- asl/tests/types.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'asl/tests') 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; } -- cgit