Skip to content

Commit

Permalink
modernize code
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Oct 29, 2024
1 parent 6fd6a80 commit d08dfbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utki/linq.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class linq_collection_aggregator
);

static_assert(
std::is_same<bool, std::invoke_result_t<func_type, const value_type&>>::value,
std::is_same_v<bool, std::invoke_result_t<func_type, const value_type&>>,
"functor must return bool"
);

Expand Down

0 comments on commit d08dfbf

Please sign in to comment.