diff options
| author | Brian Potchik <brian@vector35.com> | 2021-08-13 18:48:51 -0400 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2021-08-13 18:48:51 -0400 |
| commit | 801b4138784a45643a7201b7e54105ea5eb3b6c4 (patch) | |
| tree | 02916c8e665e7dbc16958b55abe08ff48372abf2 /rapidjsonwrapper.h | |
| parent | ac70b362bb4f15b1d1eeced7a44a222f663e695f (diff) | |
Workflows early preview.
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 ac418807..d1988b42 100644 --- a/rapidjsonwrapper.h +++ b/rapidjsonwrapper.h @@ -27,16 +27,18 @@ struct GenericException: public std::exception throw ParseException(parseErrorCode, #parseErrorCode, offset) #include "rapidjson/error/error.h" -struct ParseException: public std::runtime_error, rapidjson::ParseResult +struct ParseException: public std::runtime_error, public rapidjson::ParseResult { ParseException(rapidjson::ParseErrorCode code, const char* msg, size_t offset) : std::runtime_error(msg), ParseResult(code, offset) {} }; +#include "rapidjson/error/en.h" #include "rapidjson/rapidjson.h" #include "rapidjson/document.h" #include "rapidjson/stringbuffer.h" #include "rapidjson/writer.h" +#include "rapidjson/prettywriter.h" #if defined(__GNUC__) && __GNUC__ >= 8 #pragma GCC diagnostic pop |
