diff --git a/Argo/ArgoParserImpl.cc b/Argo/ArgoParserImpl.cc index 03367c4..d6ffbcd 100644 --- a/Argo/ArgoParserImpl.cc +++ b/Argo/ArgoParserImpl.cc @@ -48,7 +48,7 @@ constexpr auto Parser::setArg( if constexpr (!std::is_same_v) { if (key == HArg::name.getKey()) { std::cout << formatHelp() << std::endl; - exit(0); + std::exit(0); } } Assigner(key, val); @@ -61,7 +61,7 @@ constexpr auto Parser::setShortKeyArg( -> void { if (ShortArgAssigner(key, val)) [[unlikely]] { std::cout << formatHelp() << std::endl; - exit(0); + std::exit(0); }; }