diff --git a/include/spotify/json/codec/transform.hpp b/include/spotify/json/codec/transform.hpp index 7b99512c..dda317b3 100644 --- a/include/spotify/json/codec/transform.hpp +++ b/include/spotify/json/codec/transform.hpp @@ -116,7 +116,7 @@ template < typename decode_transform> class transform_t final { public: - using object_type = typename std::result_of::type; + using object_type = typename std::invoke_result::type; template transform_t(