Skip to content

Commit

Permalink
Merge pull request #67 from santeri/patch-1
Browse files Browse the repository at this point in the history
Replace deprecated result_of with invoke_result
  • Loading branch information
punchfox authored Mar 12, 2021
2 parents 3a599d8 + 0a0c782 commit 00c9b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/spotify/json/codec/transform.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ template <
typename decode_transform>
class transform_t final {
public:
using object_type = typename std::result_of<decode_transform(typename codec_type::object_type)>::type;
using object_type = typename std::invoke_result<decode_transform, typename codec_type::object_type>::type;

template <typename codec_arg_type, typename encode_transform_arg, typename decode_transform_arg>
transform_t(
Expand Down

0 comments on commit 00c9b6b

Please sign in to comment.