summaryrefslogtreecommitdiff
path: root/server/InterfaceControllerTest.cpp
diff options
context:
space:
mode:
authorBernie Innocenti <codewiz@google.com>2018-07-02 19:32:17 +0900
committerBernie Innocenti <codewiz@google.com>2018-07-02 19:33:39 +0900
commit7e25ec006e6b43b3ca33922094cf088aa572d305 (patch)
tree826a3049b4385a6325ec550a75119b3f09389fe2 /server/InterfaceControllerTest.cpp
parent453914f871e7c9fa4130a46a03e7defaf1bd7718 (diff)
Fix linter warnings in netd tests
Test: tests/runtests.sh Change-Id: Id06480fa3c1fc04f5669c42b87b263b46bf614fd
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) {