Output same exception messages for both Linux and Windows
This commit is contained in:
parent
44739d3023
commit
1a2a172b7d
@ -337,13 +337,8 @@ empty(const std::string& s)
|
|||||||
namespace cxxopts {
|
namespace cxxopts {
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
#ifdef _WIN32
|
|
||||||
CXXOPTS_LINKONCE_CONST std::string LQUOTE("\'");
|
CXXOPTS_LINKONCE_CONST std::string LQUOTE("\'");
|
||||||
CXXOPTS_LINKONCE_CONST std::string RQUOTE("\'");
|
CXXOPTS_LINKONCE_CONST std::string RQUOTE("\'");
|
||||||
#else
|
|
||||||
CXXOPTS_LINKONCE_CONST std::string LQUOTE("‘");
|
|
||||||
CXXOPTS_LINKONCE_CONST std::string RQUOTE("’");
|
|
||||||
#endif
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
// GNU GCC with -Weffc++ will issue a warning regarding the upcoming class, we
|
// GNU GCC with -Weffc++ will issue a warning regarding the upcoming class, we
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user