Skip to content

Commit

Permalink
Handle matcher construction for *old* clang compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
rollbear committed May 7, 2024
1 parent 967cd05 commit e1259b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/trompeloeil/mock.hpp
Expand Up @@ -1772,6 +1772,7 @@ template <typename T>
template <size_t M = N, typename detail::enable_if_t<M == 0>* = nullptr>
sequence_handler()
noexcept
: matchers{}
{}

template <typename ... S>
Expand Down Expand Up @@ -1830,7 +1831,7 @@ template <typename T>
matchers.retire_predecessors();
}
private:
sequence_matchers<N> matchers{};
sequence_matchers<N> matchers;
};


Expand Down

0 comments on commit e1259b4

Please sign in to comment.