diff --git a/include/rapidjson/document.h b/include/rapidjson/document.h index 74089cb9b..616bedeb7 100644 --- a/include/rapidjson/document.h +++ b/include/rapidjson/document.h @@ -698,7 +698,7 @@ class GenericValue { private: //! Copy constructor is not permitted. - GenericValue(const GenericValue& rhs); + GenericValue(const GenericValue& rhs) = delete; #if RAPIDJSON_HAS_CXX11_RVALUE_REFS //! Moving from a GenericDocument is not permitted.