Remove pointless move operations
Change-Id: I7ea63f3b78e62fa40247806ceca7b84b7e36f875
Signed-off-by: Brad Bishop <<bradleyb@fuzziesquirrel.com>
diff --git a/test/test.cpp b/test/test.cpp
index a35a03b..7f72721 100644
--- a/test/test.cpp
+++ b/test/test.cpp
@@ -311,9 +311,9 @@
int main()
{
- auto mgr = phosphor::inventory::manager::Manager(
- sdbusplus::bus::new_default(),
- SERVICE, ROOT, INTERFACE);
+ phosphor::inventory::manager::Manager mgr(
+ sdbusplus::bus::new_default(),
+ SERVICE, ROOT, INTERFACE);
auto f = [](auto mgr)
{