[Mlir-commits] [mlir] 55e8998 - [mlir] Attempt to fix windows build after D137374

River Riddle llvmlistbot at llvm.org
Fri Nov 4 18:54:07 PDT 2022


Author: River Riddle
Date: 2022-11-04T18:53:50-07:00
New Revision: 55e899813ff2774c0cd9dbaf4da5c666500ba6f4

URL: https://github.com/llvm/llvm-project/commit/55e899813ff2774c0cd9dbaf4da5c666500ba6f4
DIFF: https://github.com/llvm/llvm-project/commit/55e899813ff2774c0cd9dbaf4da5c666500ba6f4.diff

LOG: [mlir] Attempt to fix windows build after D137374

Added: 
    

Modified: 
    mlir/include/mlir/IR/SubElementInterfaces.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/IR/SubElementInterfaces.h b/mlir/include/mlir/IR/SubElementInterfaces.h
index 0f3045de5f86..ed387eb9a122 100644
--- a/mlir/include/mlir/IR/SubElementInterfaces.h
+++ b/mlir/include/mlir/IR/SubElementInterfaces.h
@@ -196,7 +196,7 @@ struct AttrTypeSubElementHandler<
   static void walk(const std::tuple<Ts...> &param,
                    AttrTypeSubElementWalker &walker) {
     std::apply(
-        [&](auto &&...params) {
+        [&](const Ts &...params) {
           (AttrTypeSubElementHandler<Ts>::walk(params, walker), ...);
         },
         param);


        


More information about the Mlir-commits mailing list