From e1259b469a0a65d7d46bb73426962ab217b9498a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fahller?= Date: Tue, 7 May 2024 22:10:28 +0200 Subject: [PATCH] Handle matcher construction for *old* clang compilers --- include/trompeloeil/mock.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/trompeloeil/mock.hpp b/include/trompeloeil/mock.hpp index bf57672..50745d9 100644 --- a/include/trompeloeil/mock.hpp +++ b/include/trompeloeil/mock.hpp @@ -1772,6 +1772,7 @@ template template * = nullptr> sequence_handler() noexcept + : matchers{} {} template @@ -1830,7 +1831,7 @@ template matchers.retire_predecessors(); } private: - sequence_matchers matchers{}; + sequence_matchers matchers; };