Index: client/settings.cc |
diff --git a/client/settings.cc b/client/settings.cc |
index 32297811805caeb37030afd9a152204110931fa0..4194cf6bbf05ba3453f30a7d6d5871befca8bd5a 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/misc/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, |