From c0bde81b03efd327b2fce56c9d81957714c19619 Mon Sep 17 00:00:00 2001 From: "Philipp A. Hartmann" Date: Tue, 16 Sep 2014 10:37:37 +0200 Subject: rapidjson.h: explicitly import std::size_t to rapidjson namespace --- include/rapidjson/rapidjson.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/rapidjson') diff --git a/include/rapidjson/rapidjson.h b/include/rapidjson/rapidjson.h index 9aa9204a..73796e34 100644 --- a/include/rapidjson/rapidjson.h +++ b/include/rapidjson/rapidjson.h @@ -45,7 +45,7 @@ different translation units of a single application. */ -#include // malloc(), realloc(), free() +#include // malloc(), realloc(), free(), size_t #include // memcpy() /////////////////////////////////////////////////////////////////////////////// @@ -248,6 +248,11 @@ typedef unsigned SizeType; } // namespace rapidjson #endif +// always import std::size_t to rapidjson namespace +namespace rapidjson { +using std::size_t; +} // namespace rapidjson + /////////////////////////////////////////////////////////////////////////////// // RAPIDJSON_ASSERT -- cgit v1.2.3