mirror of
https://github.com/jarro2783/cxxopts.git
synced 2026-01-18 01:11:24 +01:00
Output same exception messages for both Linux and Windows (#395)
Co-authored-by: Nigel Stewart <nigel.stewart@emesent.io>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user