refactor
This commit is contained in:
parent
63ca3089da
commit
0bd7070ec5
@ -44,7 +44,7 @@ struct repertory_exception_handler final
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::unique_ptr<repertory_exception_handler> handler{([]() -> auto * {
|
std::unique_ptr<repertory_exception_handler> handler{([]() -> auto * {
|
||||||
auto *ptr = new repertory_exception_handler{};
|
auto *ptr = new repertory_exception_handler{};
|
||||||
repertory::utils::error::set_exception_handler(ptr);
|
repertory::utils::error::set_exception_handler(ptr);
|
||||||
return ptr;
|
return ptr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user