diff options
Diffstat (limited to 'flang/lib/Lower/ComponentPath.cpp')
| -rw-r--r-- | flang/lib/Lower/ComponentPath.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flang/lib/Lower/ComponentPath.cpp b/flang/lib/Lower/ComponentPath.cpp index d20ea2315310..5bdbca6062e6 100644 --- a/flang/lib/Lower/ComponentPath.cpp +++ b/flang/lib/Lower/ComponentPath.cpp @@ -36,7 +36,7 @@ void Fortran::lower::ComponentPath::clear() { bool Fortran::lower::isRankedArrayAccess(const Fortran::evaluate::ArrayRef &x) { for (const Fortran::evaluate::Subscript &sub : x.subscript()) { - if (std::visit( + if (Fortran::common::visit( Fortran::common::visitors{ [&](const Fortran::evaluate::Triplet &) { return true; }, [&](const Fortran::evaluate::IndirectSubscriptIntegerExpr &e) { |
