From 1a2a172b7dde240b6a0693c48deaf92a96f392e1 Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Wed, 8 Mar 2023 22:16:43 +1000 Subject: [PATCH] Output same exception messages for both Linux and Windows --- include/cxxopts.hpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp index 6721342..f67b9cb 100644 --- a/include/cxxopts.hpp +++ b/include/cxxopts.hpp @@ -337,13 +337,8 @@ empty(const std::string& s) namespace cxxopts { namespace { -#ifdef _WIN32 CXXOPTS_LINKONCE_CONST std::string LQUOTE("\'"); CXXOPTS_LINKONCE_CONST std::string RQUOTE("\'"); -#else -CXXOPTS_LINKONCE_CONST std::string LQUOTE("‘"); -CXXOPTS_LINKONCE_CONST std::string RQUOTE("’"); -#endif } // namespace // GNU GCC with -Weffc++ will issue a warning regarding the upcoming class, we