From 6901607822ccb2bcd0f373adfa9e91c3f7da7929 Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Tue, 28 Jun 2022 16:47:41 +0000 Subject: [PATCH] Fix build with some GCC version: `global qualification of class name is invalid before '{' token` --- mlir/lib/IR/BuiltinAttributes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlir/lib/IR/BuiltinAttributes.cpp b/mlir/lib/IR/BuiltinAttributes.cpp index bf72d4639754..35926522e080 100644 --- a/mlir/lib/IR/BuiltinAttributes.cpp +++ b/mlir/lib/IR/BuiltinAttributes.cpp @@ -671,7 +671,7 @@ DenseElementsAttr::ComplexIntElementIterator::operator*() const { /// Custom storage to ensure proper memory alignment for the allocation of /// DenseArray of any element type. -struct ::mlir::detail::DenseArrayBaseAttrStorage : public AttributeStorage { +struct mlir::detail::DenseArrayBaseAttrStorage : public AttributeStorage { using KeyTy = std::tuple>; DenseArrayBaseAttrStorage(ShapedType type,