Fix static analysis issue
[platform/core/appfw/pkgmgr-info.git] / test / unit_tests / test_query_db_handlers.cc
index 4c294b1..432bdb3 100644 (file)
@@ -301,8 +301,8 @@ TEST_F(ParserDBHandlerTest, QueryDBHandler_GetDataControlAppIdTest) {
   for (auto& it : provider_map) {
     query_args.emplace_back(std::make_pair(
         QUERY_INDEX_APPINFO_GET_DATACONTROL_APPID,
-        std::vector<std::optional<std::string>>{std::move(it.first)}));
-    expected_appids.emplace_back(std::move(it.second));
+        std::vector<std::optional<std::string>>{it.first}));
+    expected_appids.emplace_back(it.second);
   }
 
   QueryHandlerMock query_handler(0, 0);