Skip to content

Commit

Permalink
fix: apply maybe_unused attribute on matches::_
Browse files Browse the repository at this point in the history
  • Loading branch information
DNKpp committed Oct 21, 2024
1 parent 0831721 commit c039fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/mimic++/Matcher.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ namespace mimicpp::matches
* \brief The wildcard matcher, always matching.
* \snippet Requirements.cpp matcher wildcard
*/
inline constexpr WildcardMatcher _{};
[[maybe_unused]] inline constexpr WildcardMatcher _{};

/**
* \brief Tests, whether the target compares equal to the expected value.
Expand Down

0 comments on commit c039fc5

Please sign in to comment.