summaryrefslogtreecommitdiffstats
path: root/libs/mesa/patches/400-gallivm-lp-bld-misc-auto-iter-llvm22.patch
blob: 1c251634952b57edf03ad248353f8649487f0562 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
@@ -331,7 +331,7 @@ lp_build_fill_mattrs(std::vector<std::st
       llvm::sys::getHostCPUFeatures(features);
    #endif
 
-   for (llvm::StringMapIterator<bool> f = features.begin();
+   for (auto f = features.begin();
         f != features.end();
         ++f) {
       MAttrs.push_back(((*f).second ? "+" : "-") + (*f).first().str());