From 461918007284d35b7d940d154680795fdfddac4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Santeri=20Hernej=C3=A4rvi?= Date: Thu, 11 Mar 2021 16:36:01 +0100 Subject: [PATCH] Replace deprecated result_of with invoke_result https://en.cppreference.com/w/cpp/types/result_of --- include/spotify/json/codec/transform.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(