summaryrefslogtreecommitdiff
path: root/server/InterfaceControllerTest.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-07-02 12:16:50 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-07-02 12:16:50 +0000
commit26e53f3587d2bfb89aa82eea92de45d69caf61e9 (patch)
treef718a036eee37e0f9c58a296b20ba599bb5fc5bb /server/InterfaceControllerTest.cpp
parent81ac5de3dbbbb7dc16167728c2c822a744aede86 (diff)
parent7e25ec006e6b43b3ca33922094cf088aa572d305 (diff)
Merge "Fix linter warnings in netd tests"
Diffstat (limited to 'server/InterfaceControllerTest.cpp')
-rw-r--r--server/InterfaceControllerTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/InterfaceControllerTest.cpp b/server/InterfaceControllerTest.cpp
index fc5dce12..9f5c427f 100644
--- a/server/InterfaceControllerTest.cpp
+++ b/server/InterfaceControllerTest.cpp
@@ -94,7 +94,7 @@ class StablePrivacyTest : public testing::Test {
}
void expectSetProperty(const std::string& key, const std::string& val, Status status) {
- EXPECT_CALL(mProperties, set(key, val)).WillOnce(Return(status));
+ EXPECT_CALL(mProperties, set(key, val)).WillOnce(Return(std::move(status)));
}
void expectWriteToFile(const Fd fd, const std::string& val, int err) {