[flang-commits] [PATCH] D139975: [flang] Fix build failure

vdonaldson via Phabricator via flang-commits flang-commits at lists.llvm.org
Tue Dec 13 15:00:20 PST 2022


vdonaldson created this revision.
vdonaldson added a project: Flang.
Herald added subscribers: mehdi_amini, jdoerfert.
Herald added a project: All.
vdonaldson requested review of this revision.

https://reviews.llvm.org/D139975

Files:
  flang/lib/Lower/PFTBuilder.cpp


Index: flang/lib/Lower/PFTBuilder.cpp
===================================================================
--- flang/lib/Lower/PFTBuilder.cpp
+++ flang/lib/Lower/PFTBuilder.cpp
@@ -1785,7 +1785,7 @@
   auto iter = map.find(&scope);
   if (iter == map.end()) {
     SymbolDependenceAnalysis sda(scope);
-    map.emplace(&scope, std::move(sda.getVariableList()));
+    map.emplace(&scope, sda.getVariableList());
     iter = map.find(&scope);
   }
   return iter->second;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139975.482638.patch
Type: text/x-patch
Size: 469 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20221213/ed051998/attachment.bin>


More information about the flang-commits mailing list