diff --git a/presto-native-execution/presto_cpp/main/types/tests/PrestoToVeloxConnectorTest.cpp b/presto-native-execution/presto_cpp/main/types/tests/PrestoToVeloxConnectorTest.cpp index d4e118b9f4fa7..932f48a611f73 100644 --- a/presto-native-execution/presto_cpp/main/types/tests/PrestoToVeloxConnectorTest.cpp +++ b/presto-native-execution/presto_cpp/main/types/tests/PrestoToVeloxConnectorTest.cpp @@ -23,19 +23,16 @@ class PrestoToVeloxConnectorTest : public ::testing::Test {}; TEST_F(PrestoToVeloxConnectorTest, registerVariousConnectors) { std::vector>> connectorList; - connectorList.emplace_back(std::move(std::pair( - "hive", - std::move(std::make_unique("hive"))))); - connectorList.emplace_back(std::move(std::pair( + connectorList.emplace_back( + std::pair("hive", std::make_unique("hive"))); + connectorList.emplace_back(std::pair( "hive-hadoop2", - std::move( - std::make_unique("hive-hadoop2"))))); - connectorList.emplace_back(std::move(std::pair( - "iceberg", - std::move(std::make_unique("iceberg"))))); - connectorList.emplace_back(std::move(std::pair( - "tpch", - std::move(std::make_unique("tpch"))))); + + std::make_unique("hive-hadoop2"))); + connectorList.emplace_back(std::pair( + "iceberg", std::make_unique("iceberg"))); + connectorList.emplace_back( + std::pair("tpch", std::make_unique("tpch"))); for (auto& [connectorName, connector] : connectorList) { registerPrestoToVeloxConnector(std::move(connector));