xo-alloc2: streamline setup
This commit is contained in:
parent
f3f8505a65
commit
4a2bbd0761
3 changed files with 4 additions and 19 deletions
|
|
@ -1,15 +0,0 @@
|
||||||
/** @file alloc2_register_facets.hpp
|
|
||||||
*
|
|
||||||
* @author Roland Conybeare, Feb 2026
|
|
||||||
**/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
namespace xo {
|
|
||||||
namespace mm {
|
|
||||||
/** Register alloc2 (facet,impl) combinations with Facet Registry **/
|
|
||||||
bool alloc2_register_facets();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* end alloc2_register_facets.hpp */
|
|
||||||
|
|
@ -4,7 +4,7 @@ set(SELF_LIB xo_alloc2)
|
||||||
set(SELF_SRCS
|
set(SELF_SRCS
|
||||||
|
|
||||||
init_alloc2.cpp
|
init_alloc2.cpp
|
||||||
alloc2_register_facets.cpp
|
SetupAlloc2.cpp
|
||||||
|
|
||||||
CollectorTypeRegistry.cpp
|
CollectorTypeRegistry.cpp
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,17 +4,17 @@
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#include "init_alloc2.hpp"
|
#include "init_alloc2.hpp"
|
||||||
#include "alloc2_register_facets.hpp"
|
#include "SetupAlloc2.hpp"
|
||||||
|
|
||||||
namespace xo {
|
namespace xo {
|
||||||
using xo::mm::alloc2_register_facets;
|
using xo::mm::SetupAlloc2;
|
||||||
// using xo::mm::alloc2_register_types;
|
// using xo::mm::alloc2_register_types;
|
||||||
// using xo::mm::CollectorTypeRegistry;
|
// using xo::mm::CollectorTypeRegistry;
|
||||||
|
|
||||||
void
|
void
|
||||||
InitSubsys<S_alloc2_tag>::init()
|
InitSubsys<S_alloc2_tag>::init()
|
||||||
{
|
{
|
||||||
alloc2_register_facets();
|
SetupAlloc2::register_facets();
|
||||||
}
|
}
|
||||||
|
|
||||||
InitEvidence
|
InitEvidence
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue