Index: minidump/minidump_simple_string_dictionary_writer.cc |
diff --git a/minidump/minidump_simple_string_dictionary_writer.cc b/minidump/minidump_simple_string_dictionary_writer.cc |
index c7d81e2fde472ed10e8747239e00f8d737019be1..50c1f72046808cb0639e9e82f078f19cf27fce8d 100644 |
--- a/minidump/minidump_simple_string_dictionary_writer.cc |
+++ b/minidump/minidump_simple_string_dictionary_writer.cc |
@@ -17,6 +17,7 @@ |
#include "base/logging.h" |
#include "base/stl_util.h" |
#include "util/file/file_writer.h" |
+#include "util/stdlib/move.h" |
#include "util/numeric/safe_assignment.h" |
namespace crashpad { |
@@ -109,7 +110,7 @@ void MinidumpSimpleStringDictionaryWriter::InitializeFromMap( |
auto entry = |
make_scoped_ptr(new MinidumpSimpleStringDictionaryEntryWriter()); |
entry->SetKeyValue(iterator.first, iterator.second); |
- AddEntry(entry.Pass()); |
+ AddEntry(crashpad::move(entry)); |
} |
} |