[llvm] r238790 - [dsymutil] Remove extraneous std::move of local in return statement.
Frederic Riss
friss at apple.com
Mon Jun 1 15:03:05 PDT 2015
Author: friss
Date: Mon Jun 1 17:03:05 2015
New Revision: 238790
URL: http://llvm.org/viewvc/llvm-project?rev=238790&view=rev
Log:
[dsymutil] Remove extraneous std::move of local in return statement.
Modified:
llvm/trunk/tools/dsymutil/DebugMap.h
Modified: llvm/trunk/tools/dsymutil/DebugMap.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/dsymutil/DebugMap.h?rev=238790&r1=238789&r2=238790&view=diff
==============================================================================
--- llvm/trunk/tools/dsymutil/DebugMap.h (original)
+++ llvm/trunk/tools/dsymutil/DebugMap.h Mon Jun 1 17:03:05 2015
@@ -201,7 +201,7 @@ template <> struct MappingTraits<dsymuti
for (auto &Entry : Entries)
Res[Entry.first] = Entry.second;
- return std::move(Res);
+ return Res;
}
std::vector<dsymutil::DebugMapObject::YAMLSymbolMapping> Entries;
More information about the llvm-commits
mailing list