diff --git a/include/msgpack/v1/object_fwd.hpp b/include/msgpack/v1/object_fwd.hpp index 9c98a8f2..a932226a 100644 --- a/include/msgpack/v1/object_fwd.hpp +++ b/include/msgpack/v1/object_fwd.hpp @@ -59,7 +59,7 @@ private: decltype(adaptor::as()(std::declval())), T >::type; - template + template static std::false_type check(...); public: using type = decltype(check(MSGPACK_NULLPTR)); diff --git a/include/msgpack/v2/object_fwd.hpp b/include/msgpack/v2/object_fwd.hpp index 69286608..9c44aae6 100644 --- a/include/msgpack/v2/object_fwd.hpp +++ b/include/msgpack/v2/object_fwd.hpp @@ -91,7 +91,7 @@ private: v1::has_as::value, std::true_type >::type; - template + template static std::false_type check(...); public: using type = decltype(check(MSGPACK_NULLPTR)); diff --git a/include/msgpack/v3/object_fwd.hpp b/include/msgpack/v3/object_fwd.hpp index e8ab7e90..d282f1b4 100644 --- a/include/msgpack/v3/object_fwd.hpp +++ b/include/msgpack/v3/object_fwd.hpp @@ -51,7 +51,7 @@ private: v1::has_as::value, std::true_type >::type; - template + template static std::false_type check(...); public: using type = decltype(check(MSGPACK_NULLPTR));