From 16cc254919ba78767cf2644b80693b11e379f9f2 Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Mon, 3 Apr 2023 17:15:01 +1000 Subject: [PATCH] Output same exception messages for both Linux and Windows (#395) Co-authored-by: Nigel Stewart --- include/cxxopts.hpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp index 2d3f4e8..541b626 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