diff options
author | dcheng <dcheng@chromium.org> | 2015-12-28 19:02:53 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-29 03:03:44 +0000 |
commit | f0e2963a777189ff269b2bb48b1882f55301afae (patch) | |
tree | d218c8eba0c8332181a59077640395324b3333ea /third_party/libaddressinput | |
parent | ad8cdf36a37c5c52edef2f8b25b09a2350adaf12 (diff) | |
download | chromium_src-f0e2963a777189ff269b2bb48b1882f55301afae.zip chromium_src-f0e2963a777189ff269b2bb48b1882f55301afae.tar.gz chromium_src-f0e2963a777189ff269b2bb48b1882f55301afae.tar.bz2 |
Fix an unneeded std::move in //third_party/libaddressinput.
std::move is not needed when returning local variables. This wasn't
caught in the initial commit because only Windows builds //third_party
with -Wall.
BUG=82385
TBR=thakis@chromium.org
Review URL: https://codereview.chromium.org/1549373004
Cr-Commit-Position: refs/heads/master@{#367043}
Diffstat (limited to 'third_party/libaddressinput')
-rw-r--r-- | third_party/libaddressinput/chromium/json.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/third_party/libaddressinput/chromium/json.cc b/third_party/libaddressinput/chromium/json.cc index b7a7293..89c65bc 100644 --- a/third_party/libaddressinput/chromium/json.cc +++ b/third_party/libaddressinput/chromium/json.cc @@ -5,7 +5,6 @@ #include "third_party/libaddressinput/src/cpp/src/util/json.h" #include <map> -#include <utility> #include "base/json/json_reader.h" #include "base/logging.h" @@ -36,7 +35,7 @@ namespace { else result.reset(static_cast<const base::DictionaryValue*>(parsed.release())); - return std::move(result); + return result; } } // namespace |