mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-03-10 03:29:59 +01:00
Fix RAPIDJSON_HAS_STDSTRING is not defined
compilation warning
This commit is contained in:
parent
38889835ce
commit
fa5b1efd23
@ -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); }
|
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.
|
//! Set this value as a string by copying from source string.
|
||||||
/*! \param s source string.
|
/*! \param s source string.
|
||||||
\param allocator Allocator for allocating copied buffer. Commonly use GenericDocument::GetAllocator().
|
\param allocator Allocator for allocating copied buffer. Commonly use GenericDocument::GetAllocator().
|
||||||
|
Loading…
x
Reference in New Issue
Block a user