From bbfb02609ef2a93b8fa0e97a5e298805f82d4f37 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 13 Jul 2024 01:06:49 +0200 Subject: w --- test/handle.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/handle.cpp b/test/handle.cpp index 2b52b04e..563e56ae 100644 --- a/test/handle.cpp +++ b/test/handle.cpp @@ -8,7 +8,13 @@ namespace floormat { namespace { constexpr uint32_t start_index = 1024, page_size = 128; -struct Foo { int value = 0; }; + +struct Foo +{ + int value = 0; + ~Foo() { value = 0; } +}; + using Page = impl_handle::Page; using Handle = impl_handle::Handle; -- cgit v1.2.3