From 7467d772c58dc05df7f4a9d9474a7fafbfbba9a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20Gro=C3=9F?= Date: Tue, 27 Jun 2023 11:36:02 +0200 Subject: [PATCH] Fix clang build --- include/timingctx.hpp | 2 +- include/transactions.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/timingctx.hpp b/include/timingctx.hpp index 680db2422..c82d56714 100644 --- a/include/timingctx.hpp +++ b/include/timingctx.hpp @@ -131,7 +131,7 @@ class TimingCtx { } }; -inline static const auto NullTimingCtx = TimingCtx{ nullParsePred, nullMatchPred }; +inline static const auto NullTimingCtx = TimingCtx(nullParsePred, nullMatchPred); [[nodiscard]] inline bool operator==(const TimingCtx &lhs, const std::string_view &rhs) { diff --git a/include/transactions.hpp b/include/transactions.hpp index d23fdf8b9..ded8c359f 100644 --- a/include/transactions.hpp +++ b/include/transactions.hpp @@ -475,7 +475,7 @@ class CtxSetting { } // did not find an exact match the setting for the specific timing context - return { {}, settings::node(T()) }; + return { TimingCtx(), settings::node({}) }; } void