document.h: include <string>, iff RAPIDJSON_HAS_STDSTRING==1

Reported-by: Janusz Chorko (@yachoor)
See: https://github.com/miloyip/rapidjson/commit/c1c9ba7c#commitcomment-10434694
This commit is contained in:
Philipp A. Hartmann 2015-03-30 22:37:24 +02:00
parent a36110e118
commit 2f010e6e4b

View File

@ -55,6 +55,9 @@ RAPIDJSON_DIAG_OFF(effc++)
\hideinitializer \hideinitializer
*/ */
#endif // !defined(RAPIDJSON_HAS_STDSTRING)
#if RAPIDJSON_HAS_STDSTRING
#include <string> #include <string>
#endif // RAPIDJSON_HAS_STDSTRING #endif // RAPIDJSON_HAS_STDSTRING