From 62e40f2109e239fc1ab98e79ecd99e1d55bd9bdd Mon Sep 17 00:00:00 2001 From: Caleb Schilly Date: Fri, 6 Sep 2024 14:17:54 -0400 Subject: [PATCH] #2342: resolve warnings --- tests/unit/lb/test_lb_data_holder.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/unit/lb/test_lb_data_holder.cc b/tests/unit/lb/test_lb_data_holder.cc index 10542714a6..58971e277b 100644 --- a/tests/unit/lb/test_lb_data_holder.cc +++ b/tests/unit/lb/test_lb_data_holder.cc @@ -52,7 +52,6 @@ namespace vt { namespace tests { namespace unit { namespace lb { using TestLBDataHolder = TestParallelHarness; -using LBDataHolder = vt::vrt::collection::balance::LBDataHolder; nlohmann::json create_entity_(std::string id_type, int id, int home, bool is_migratable) { nlohmann::json entity = { @@ -123,12 +122,12 @@ void test_data_holder_elms(int seq_id_1, int home, int node, bool is_migratable) // Create DataHolder and get resulting object elm auto simple_json_id = create_json_( "id", encoded_id_1, encoded_id_2, home, node, is_migratable); - auto dh_id = LBDataHolder(simple_json_id); + auto dh_id = vt::vrt::collection::balance::LBDataHolder(simple_json_id); // Create new DataHolder using "seq_id" and get elm auto simple_json_seq = create_json_("seq_id", seq_id_1, seq_id_2, home, node, is_migratable); - auto dh_seq = LBDataHolder(simple_json_seq); + auto dh_seq = vt::vrt::collection::balance::LBDataHolder(simple_json_seq); // Find both elms in each DataHolder auto it_id_1 = dh_id.node_data_[0].find(elm_1);