Chromium Code Reviews| 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; |
| } |