From d43f001a367f59004c460117bab590d4ff9c8b20 Mon Sep 17 00:00:00 2001 From: Milo Yip Date: Tue, 2 Feb 2016 22:59:27 +0800 Subject: [PATCH] Fix #472 Template specialization failure with SunOS compiler --- include/rapidjson/document.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/rapidjson/document.h b/include/rapidjson/document.h index 026bb572..2cd9088e 100644 --- a/include/rapidjson/document.h +++ b/include/rapidjson/document.h @@ -486,7 +486,7 @@ public: */ #ifndef RAPIDJSON_DOXYGEN_RUNNING // hide SFINAE from Doxygen template - explicit GenericValue(T b, RAPIDJSON_ENABLEIF((internal::IsSame))) RAPIDJSON_NOEXCEPT + explicit GenericValue(T b, RAPIDJSON_ENABLEIF((internal::IsSame))) RAPIDJSON_NOEXCEPT // See #472 #else explicit GenericValue(bool b) RAPIDJSON_NOEXCEPT #endif