Skip to content

Commit

Permalink
document.h: include <string>, iff RAPIDJSON_HAS_STDSTRING==1
Browse files Browse the repository at this point in the history
Reported-by: Janusz Chorko (@yachoor)
See: Tencent@c1c9ba7c#commitcomment-10434694
  • Loading branch information
pah committed Mar 30, 2015
1 parent a36110e commit 2f010e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/rapidjson/document.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ RAPIDJSON_DIAG_OFF(effc++)
\hideinitializer
*/
#endif // !defined(RAPIDJSON_HAS_STDSTRING)

#if RAPIDJSON_HAS_STDSTRING
#include <string>
#endif // RAPIDJSON_HAS_STDSTRING

Expand Down

0 comments on commit 2f010e6

Please sign in to comment.