Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1105)

Unified Diff: dbus/message.cc

Issue 893663002: Enhance the DBus interface for peerd (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: dbus/message.cc
diff --git a/dbus/message.cc b/dbus/message.cc
index ddcf85f4f267b4f00923a7d1208be52b5bd71e29..67312a0a81207f8bdeb0513864c0427ed63a2673 100644
--- a/dbus/message.cc
+++ b/dbus/message.cc
@@ -837,7 +837,7 @@ bool MessageReader::PopArrayOfStrings(
std::string string;
if (!array_reader.PopString(&string))
return false;
- strings->push_back(string);
+ strings->push_back(std::move(string));
satorux1 2015/02/05 08:20:15 This change seems to be unrelated to the purpose o
hashimoto 2015/02/05 09:51:12 move semantics is not allowed yet. http://chromium
dtapuska 2015/02/05 19:51:17 Done.
}
return true;
}

Powered by Google App Engine
This is Rietveld 408576698