Skip to content

Commit

Permalink
Fix clang build
Browse files Browse the repository at this point in the history
  • Loading branch information
vimpostor committed Jun 27, 2023
1 parent 389a1b7 commit 7467d77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/timingctx.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion include/transactions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ class CtxSetting {
}

// did not find an exact match the setting for the specific timing context
return { {}, settings::node<T>(T()) };
return { TimingCtx(), settings::node<T>({}) };
}

void
Expand Down

0 comments on commit 7467d77

Please sign in to comment.