diff options
-rw-r--r-- | compat/LooseQuadtree-impl.h | 4 |
1 files changed, 3 insertions, 1 deletions
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<kBlockSize, kBlockAlign>::type; + struct Block { + alignas(kBlockAlign) unsigned char data[kBlockSize]; + }; //template <std::size_t kSizeT> //union Slot { |