Merge pull request #115 from wrr/warningfix

Fix `RAPIDJSON_HAS_STDSTRING is not defined` compilation warning
This commit is contained in:
Milo Yip 2014-08-28 23:16:59 +09:00
commit 991aeaa01c

View File

@ -1265,7 +1265,7 @@ int z = a[0u].GetInt(); // This works too.
*/
GenericValue& SetString(const Ch* s, Allocator& allocator) { return SetString(s, internal::StrLen(s), allocator); }
#if RAPIDJSON_HAS_STDSTRING
#ifdef RAPIDJSON_HAS_STDSTRING
//! Set this value as a string by copying from source string.
/*! \param s source string.
\param allocator Allocator for allocating copied buffer. Commonly use GenericDocument::GetAllocator().