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/memorybuffer.h')
-rw-r--r--include/rapidjson/memorybuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rapidjson/memorybuffer.h b/include/rapidjson/memorybuffer.h
index b94d2df9..ef15c467 100644
--- a/include/rapidjson/memorybuffer.h
+++ b/include/rapidjson/memorybuffer.h
@@ -68,7 +68,7 @@ typedef GenericMemoryBuffer<> MemoryBuffer;
//! Implement specialized version of PutN() with memset() for better performance.
template<>
inline void PutN(MemoryBuffer& memoryBuffer, char c, size_t n) {
- memset(memoryBuffer.stack_.Push<char>(n), c, n * sizeof(c));
+ std::memset(memoryBuffer.stack_.Push<char>(n), c, n * sizeof(c));
}
} // namespace rapidjson