diff options
Diffstat (limited to 'test/pid_zone_unittest.cpp')
-rw-r--r-- | test/pid_zone_unittest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/pid_zone_unittest.cpp b/test/pid_zone_unittest.cpp index 2270fa6..11ba4c1 100644 --- a/test/pid_zone_unittest.cpp +++ b/test/pid_zone_unittest.cpp @@ -37,7 +37,7 @@ TEST(PidZoneConstructorTest, BoringConstructorTest) IsNull(), _, StrEq("/xyz/openbmc_project/extsensors"))) .WillOnce(Return(0)); - SensorManager m(std::move(bus_mock_passive), std::move(bus_mock_host)); + SensorManager m(bus_mock_passive, bus_mock_host); bool defer = true; const char* objPath = "/path/"; @@ -74,7 +74,7 @@ class PidZoneTest : public ::testing::Test auto bus_mock_mode = sdbusplus::get_mocked_new(&sdbus_mock_mode); // Compiler weirdly not happy about just instantiating mgr(...); - SensorManager m(std::move(bus_mock_passive), std::move(bus_mock_host)); + SensorManager m(bus_mock_passive, bus_mock_host); mgr = std::move(m); SetupDbusObject(&sdbus_mock_mode, defer, objPath, modeInterface, |