From 8134cd27d427e436f88bdda4b6626608a923c1ad Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Sun, 14 Dec 2025 17:04:45 -0500 Subject: [PATCH] xo-alloc2: streamline headers (more reorg) --- include/xo/alloc2/Allocator.hpp | 12 ++++++++++++ include/xo/alloc2/gc/AGCObject.hpp | 3 +-- utest/arena.test.cpp | 4 ++-- 3 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 include/xo/alloc2/Allocator.hpp diff --git a/include/xo/alloc2/Allocator.hpp b/include/xo/alloc2/Allocator.hpp new file mode 100644 index 0000000..ee5e709 --- /dev/null +++ b/include/xo/alloc2/Allocator.hpp @@ -0,0 +1,12 @@ +/** @file Allocator.hpp + * + * @author Roland Conybeare, Dec 2025 + **/ + +#pragma once + +#include "AAllocator.hpp" +#include "IAllocator_Any.hpp" +#include "RAllocator.hpp" + +/* end Allocator.hpp */ diff --git a/include/xo/alloc2/gc/AGCObject.hpp b/include/xo/alloc2/gc/AGCObject.hpp index c558624..1e0a6d4 100644 --- a/include/xo/alloc2/gc/AGCObject.hpp +++ b/include/xo/alloc2/gc/AGCObject.hpp @@ -5,8 +5,7 @@ #pragma once -#include "IAllocator_Any.hpp" -#include "RAllocator.hpp" +#include "Allocator.hpp" #include "xo/facet/facet_implementation.hpp" #include "xo/facet/typeseq.hpp" #include "xo/facet/obj.hpp" // for obj in shallow_copy diff --git a/utest/arena.test.cpp b/utest/arena.test.cpp index 69a2f0f..501724d 100644 --- a/utest/arena.test.cpp +++ b/utest/arena.test.cpp @@ -3,8 +3,8 @@ * @author Roland Conybeare, Dec 2025 **/ -#include "xo/alloc2/AAllocator.hpp" -#include "xo/alloc2/IAllocator_Any.hpp" +#include "xo/alloc2/Allocator.hpp" +//#include "xo/alloc2/IAllocator_Any.hpp" #include "xo/alloc2/IAllocator_Xfer.hpp" //#include "xo/alloc2/DArena.hpp" #include "xo/alloc2/IAllocator_DArena.hpp"