From bbfb02609ef2a93b8fa0e97a5e298805f82d4f37 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 13 Jul 2024 01:06:49 +0200 Subject: w --- src/handle-page.hpp | 1 + src/handle-page.inl | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'src') diff --git a/src/handle-page.hpp b/src/handle-page.hpp index 057a512e..bf7ecdad 100644 --- a/src/handle-page.hpp +++ b/src/handle-page.hpp @@ -9,6 +9,7 @@ namespace floormat::impl_handle { template struct Item { + ~Item() noexcept; union { char empty = {}; Obj object; }; Handle handle; uint32_t next; diff --git a/src/handle-page.inl b/src/handle-page.inl index 8a8bd489..70837e0c 100644 --- a/src/handle-page.inl +++ b/src/handle-page.inl @@ -5,6 +5,10 @@ namespace floormat::impl_handle { +template +Item::~Item() noexcept +{} + template void Page::do_deallocate(Item& item) { -- cgit v1.2.3