Index: client/settings.cc |
diff --git a/client/settings.cc b/client/settings.cc |
index 32297811805caeb37030afd9a152204110931fa0..e7ff2a90e7d3af274fba40dd5c1290e7870be84b 100644 |
--- a/client/settings.cc |
+++ b/client/settings.cc |
@@ -18,6 +18,7 @@ |
#include "base/logging.h" |
#include "base/posix/eintr_wrapper.h" |
+#include "util/stdlib/move.h" |
#include "util/numeric/in_range_cast.h" |
namespace crashpad { |
@@ -235,7 +236,7 @@ Settings::ScopedLockedFileHandle Settings::OpenForWritingAndReadSettings( |
return ScopedLockedFileHandle(); |
} |
- return handle.Pass(); |
+ return handle; |
} |
bool Settings::ReadSettings(FileHandle handle, |