Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8a867151 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix visitor" into main

parents 96f866c2 2e9e4ba2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -34,7 +34,9 @@ namespace {

// Helpers to std::visit with lambdas.
template <typename... V>
struct Visitor : V... {};
struct Visitor : V... {
    using V::operator()...;
};
template <typename... V>
Visitor(V...) -> Visitor<V...>;