Commit 991aeaa0 authored by Milo Yip's avatar Milo Yip

Merge pull request #115 from wrr/warningfix

Fix `RAPIDJSON_HAS_STDSTRING is not defined` compilation warning
parents 8dfc97f5 fa5b1efd
......@@ -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().
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment