summaryrefslogtreecommitdiffstats
path: root/components/ownership/owner_key_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'components/ownership/owner_key_util.cc')
-rw-r--r--components/ownership/owner_key_util.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/components/ownership/owner_key_util.cc b/components/ownership/owner_key_util.cc
index a049729..55b5fd4 100644
--- a/components/ownership/owner_key_util.cc
+++ b/components/ownership/owner_key_util.cc
@@ -4,6 +4,8 @@
#include "components/ownership/owner_key_util.h"
+#include <utility>
+
namespace ownership {
///////////////////////////////////////////////////////////////////////////
@@ -18,8 +20,8 @@ PublicKey::~PublicKey() {
///////////////////////////////////////////////////////////////////////////
// PrivateKey
-PrivateKey::PrivateKey(crypto::ScopedSECKEYPrivateKey key) : key_(key.Pass()) {
-}
+PrivateKey::PrivateKey(crypto::ScopedSECKEYPrivateKey key)
+ : key_(std::move(key)) {}
PrivateKey::~PrivateKey() {
}