Skip to content
Commit 83ff81d7 authored by Jö Fahlke's avatar Jö Fahlke
Browse files

Fix variant visitation

So, as it turns out, pacxx supports c++17 on agamemnon, probably due to Ubuntu
18.04 (compared to Ubuntu 16.04 in the CI).  This means `Dune::Std::variant`
is just `std::variant`, rather than using Dune's fallback implementation.
Now, with the fallback implementation, it was impossible to find `visit()` via
ADL for some reason, so I had been using the member function `visit()`, which
isn't part of `std::variant`.  To satisfy both, try `using Dune::Std::visit`
before ADL.
parent 326d9c1b
Pipeline #36892 passed with warnings with stage
in 11 minutes and 22 seconds
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