Output same exception messages for both Linux and Windows (#395)

Co-authored-by: Nigel Stewart <nigel.stewart@emesent.io>
This commit is contained in:
Nigel Stewart
2023-04-03 17:15:01 +10:00
committed by GitHub
parent 120205ac5a
commit 16cc254919

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