Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/miloyip/rapidjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'include/rapidjson/stringbuffer.h')
-rw-r--r--include/rapidjson/stringbuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rapidjson/stringbuffer.h b/include/rapidjson/stringbuffer.h
index bccc2472..55124f11 100644
--- a/include/rapidjson/stringbuffer.h
+++ b/include/rapidjson/stringbuffer.h
@@ -71,7 +71,7 @@ typedef GenericStringBuffer<UTF8<> > StringBuffer;
//! Implement specialized version of PutN() with memset() for better performance.
template<>
inline void PutN(GenericStringBuffer<UTF8<> >& stream, char c, size_t n) {
- memset(stream.stack_.Push<char>(n), c, n * sizeof(c));
+ std::memset(stream.stack_.Push<char>(n), c, n * sizeof(c));
}
} // namespace rapidjson