Skip to content

Commit

Permalink
fix: try please codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
DNKpp committed Jun 25, 2024
1 parent 08610be commit 84e8e2c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions include/mimic++/ControlPolicy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,10 +356,12 @@ namespace mimicpp::expect
[[nodiscard]]
consteval auto once() noexcept
{
return detail::TimesConfig{
constexpr detail::TimesConfig config{
1,
1
};

return config;
}

/**
Expand All @@ -372,10 +374,12 @@ namespace mimicpp::expect
[[nodiscard]]
consteval auto twice() noexcept
{
return detail::TimesConfig{
constexpr detail::TimesConfig config{
2,
2
};

return config;
}

/**
Expand Down

0 comments on commit 84e8e2c

Please sign in to comment.