Commit 3820da8d authored by Simon Praetorius's avatar Simon Praetorius
Browse files

Merge branch 'bugfix/remove_leftover_dune_unused' into 'master'

Remove DUNE_UNUSED_PARAMETER in `ifElse`.

See merge request !959
parents b2a3e8ad 0291dd6d
Pipeline #36335 passed with stages
in 6 minutes and 11 seconds
......@@ -366,7 +366,7 @@ decltype(auto) ifElse(const Condition& condition, IfFunc&& ifFunc, ElseFunc&& el
template<class Condition, class IfFunc>
void ifElse(const Condition& condition, IfFunc&& ifFunc)
{
ifElse(condition, std::forward<IfFunc>(ifFunc), [](auto&& i) { DUNE_UNUSED_PARAMETER(i); });
ifElse(condition, std::forward<IfFunc>(ifFunc), [](auto&&) {});
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment