diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp index 2fe4fd7..bd03409 100644 --- a/include/cxxopts.hpp +++ b/include/cxxopts.hpp @@ -471,7 +471,8 @@ namespace cxxopts void throw_or_mimic(const std::string& text) { static_assert(std::is_base_of::value, - "mimic_throw only works on std::exception and deriving classes"); + "throw_or_mimic only works on std::exception and " + "deriving classes"); #ifndef CXXOPTS_NO_EXCEPTIONS // If CXXOPTS_NO_EXCEPTIONS is not defined, just throw