Output same exception messages for both Linux and Windows

This commit is contained in:
Nigel Stewart 2023-03-08 22:16:43 +10:00
parent 44739d3023
commit 1a2a172b7d

View File

@ -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