xo-gc: + CollectorTypeRegistry for streamlined init
This commit is contained in:
parent
929c25a7a6
commit
93429becad
16 changed files with 319 additions and 6 deletions
|
|
@ -130,8 +130,8 @@ namespace xo {
|
|||
public:
|
||||
SubsystemImpl() = default;
|
||||
SubsystemImpl(bool require_flag,
|
||||
std::string_view subsys_name,
|
||||
std::function<void ()> init_fn)
|
||||
std::string_view subsys_name,
|
||||
std::function<void ()> init_fn)
|
||||
: require_flag_{require_flag},
|
||||
subsys_name_{subsys_name},
|
||||
init_fn_{init_fn} {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue