diff options
author | xiphon <xiphon@protonmail.com> | 2020-03-14 00:46:47 +0000 |
---|---|---|
committer | xiphon <xiphon@protonmail.com> | 2020-03-14 00:46:47 +0000 |
commit | c075aa7a6cc5fb8cf152ab9870c6be308406815e (patch) | |
tree | a46cc2528358e43da2d7c24eda9d4f82b3eb42e3 /src | |
parent | Merge pull request #6383 (diff) | |
download | monero-c075aa7a6cc5fb8cf152ab9870c6be308406815e.tar.xz |
workaround for GetObject windows.h macro and rapidjson conflict
Diffstat (limited to 'src')
-rw-r--r-- | src/serialization/json_object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialization/json_object.h b/src/serialization/json_object.h index d2c579589..a1a5105d5 100644 --- a/src/serialization/json_object.h +++ b/src/serialization/json_object.h @@ -30,11 +30,11 @@ #include <boost/utility/string_ref.hpp> #include <cstring> +#include "string_tools.h" // out of order because windows.h GetObject macro conflicts with GenericValue<..>::GetObject() #include <rapidjson/document.h> #include <rapidjson/stringbuffer.h> #include <rapidjson/writer.h> -#include "string_tools.h" #include "cryptonote_basic/cryptonote_basic.h" #include "rpc/message_data_structs.h" #include "cryptonote_protocol/cryptonote_protocol_defs.h" |