diff options
Diffstat (limited to 'rapidjsonwrapper.h')
| -rw-r--r-- | rapidjsonwrapper.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rapidjsonwrapper.h b/rapidjsonwrapper.h index 1ff02e7e..ac418807 100644 --- a/rapidjsonwrapper.h +++ b/rapidjsonwrapper.h @@ -20,7 +20,7 @@ struct GenericException: public std::exception } }; -#define RAPIDJSON_HAS_STDSTRING 1 +#define RAPIDJSON_HAS_STDSTRING 0 #define RAPIDJSON_HAS_CXX11_NOEXCEPT 0 #define RAPIDJSON_ASSERT(x) do {if (!(x)) throw GenericException(); } while(0); #define RAPIDJSON_PARSE_ERROR_NORETURN(parseErrorCode,offset) \ @@ -35,6 +35,8 @@ struct ParseException: public std::runtime_error, rapidjson::ParseResult #include "rapidjson/rapidjson.h" #include "rapidjson/document.h" +#include "rapidjson/stringbuffer.h" +#include "rapidjson/writer.h" #if defined(__GNUC__) && __GNUC__ >= 8 #pragma GCC diagnostic pop |
