diff options
Diffstat (limited to 'nihil.config/option.cc')
| -rw-r--r-- | nihil.config/option.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nihil.config/option.cc b/nihil.config/option.cc index e09842e..50c7a1f 100644 --- a/nihil.config/option.cc +++ b/nihil.config/option.cc @@ -26,6 +26,7 @@ option::option(std::string_view const name, std::string_view const description) option::~option() { + std::ignore = store::get().unregister_option(this); } auto option::name(this option const &self) noexcept |
