Skip to content

Commit

Permalink
Fix build on VS 2022 17.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyoyuppe committed Aug 19, 2022
1 parent 48d25b4 commit 81c8a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/flags/flags.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ template <class E> class flags {

template <class FwIter>
flags(FwIter b, FwIter e,
typename convertible<decltype(*b)>::type = nullptr)
typename convertible<decltype(*std::declval<FwIter>())>::type = nullptr)
noexcept(noexcept(std::declval<flags>().insert(std::declval<FwIter>(),
std::declval<FwIter>())))
: val_(0)
Expand Down

0 comments on commit 81c8a7b

Please sign in to comment.