always define RAPIDJSON_HAS_STDSTRING (default: 0)

This commit is contained in:
Philipp A. Hartmann
2014-08-31 15:09:18 +02:00
parent 5656078a38
commit c1c9ba7c59
2 changed files with 9 additions and 7 deletions

View File

@@ -558,7 +558,7 @@ TEST(Value, String) {
EXPECT_STREQ("World", w.GetString());
EXPECT_EQ(5u, w.GetStringLength());
#ifdef RAPIDJSON_HAS_STDSTRING
#if RAPIDJSON_HAS_STDSTRING
{
std::string str = "Hello World";
str[5] = '\0';