Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!959Remove DUNE_UNUSED_PARAMETER in `ifElse`.
Pipeline #36335 passed
Pipeline: Dune Nightly Test

#36336

    ......@@ -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&&) {});
    }
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment