Skip to content

Commit

Permalink
adjusting text of static assert
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Hoeflinger <[email protected]>
  • Loading branch information
danhoeflinger committed Mar 21, 2024
1 parent 8ee9088 commit 3a81db1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/oneapi/dpl/pstl/iterator_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ class transform_iterator
_UnaryFunc __my_unary_func_;

static_assert(std::is_invocable_v<const _UnaryFunc, typename std::iterator_traits<_Iter>::reference>,
"Unary Functor is not const callable with the reference type of base iterator.");
"_UnaryFunc is not const callable with the reference type of base iterator.");

public:
typedef typename ::std::iterator_traits<_Iter>::difference_type difference_type;
Expand Down

0 comments on commit 3a81db1

Please sign in to comment.