[dsymutil] Remove extraneous std::move of local in return statement.
authorFrederic Riss <friss@apple.com>
Mon, 1 Jun 2015 22:03:05 +0000 (22:03 +0000)
committerFrederic Riss <friss@apple.com>
Mon, 1 Jun 2015 22:03:05 +0000 (22:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238790 91177308-0d34-0410-b5e6-96231b3b80d8

tools/dsymutil/DebugMap.h

index 7188d4acd3027932dc73ace365d6d557974a5a8a..8d76f113e91e01bfd422c890b101fd3f5bf720e8 100644 (file)
@@ -201,7 +201,7 @@ template <> struct MappingTraits<dsymutil::DebugMapObject> {
       for (auto &Entry : Entries)
         Res[Entry.first] = Entry.second;
 
-      return std::move(Res);
+      return Res;
     }
 
     std::vector<dsymutil::DebugMapObject::YAMLSymbolMapping> Entries;