From: Frederic Riss Date: Mon, 1 Jun 2015 22:03:05 +0000 (+0000) Subject: [dsymutil] Remove extraneous std::move of local in return statement. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a116a41be0ab900f95371300e197c2b5df50527d;p=oota-llvm.git [dsymutil] Remove extraneous std::move of local in return statement. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238790 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/dsymutil/DebugMap.h b/tools/dsymutil/DebugMap.h index 7188d4acd30..8d76f113e91 100644 --- a/tools/dsymutil/DebugMap.h +++ b/tools/dsymutil/DebugMap.h @@ -201,7 +201,7 @@ template <> struct MappingTraits { for (auto &Entry : Entries) Res[Entry.first] = Entry.second; - return std::move(Res); + return Res; } std::vector Entries;