From 53a131085f3afcc2261027556dc1633fbb0723e1 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 4 Dec 2022 15:25:25 +0100 Subject: compat/lqt: remove deprecated std::aligned_storage --- compat/LooseQuadtree-impl.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compat/LooseQuadtree-impl.h b/compat/LooseQuadtree-impl.h index 470377c8..694d04d1 100644 --- a/compat/LooseQuadtree-impl.h +++ b/compat/LooseQuadtree-impl.h @@ -54,7 +54,9 @@ public: void Delete(T* p); private: - using Block = std::aligned_storage::type; + struct Block { + alignas(kBlockAlign) unsigned char data[kBlockSize]; + }; //template //union Slot { -- cgit v1.2.3