mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-valijson.git
synced 2025-11-01 19:18:02 +00:00
fix typos in preprocessor macros
This commit is contained in:
@@ -20,7 +20,7 @@ inline bool loadDocument(const std::string &path, boost::json::value &document)
|
||||
}
|
||||
|
||||
// Parse schema
|
||||
#if VALIJSON_USE_EXCEPTION
|
||||
#if VALIJSON_USE_EXCEPTIONS
|
||||
try {
|
||||
#endif
|
||||
boost::json::error_code errorCode;
|
||||
@@ -30,7 +30,7 @@ inline bool loadDocument(const std::string &path, boost::json::value &document)
|
||||
std::cerr << "Boost.JSON parsing error: " << errorCode.message();
|
||||
return false;
|
||||
}
|
||||
#if VALIJSON_USE_EXCEPTION
|
||||
#if VALIJSON_USE_EXCEPTIONS
|
||||
} catch (std::exception const & exception) {
|
||||
std::cerr << "Boost.JSON parsing exception: " << exception.what();
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user