1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-04-08 19:56:46 +00:00

Fix GCC warning

This commit is contained in:
Carles Fernandez 2017-08-18 13:11:12 +02:00
parent 2467ed5af7
commit ff89df1ea1

View File

@ -285,7 +285,7 @@ TEST(GNSSBlockFactoryTest, InstantiateChannels)
gr::msg_queue::sptr queue = gr::msg_queue::make(0);
std::unique_ptr<GNSSBlockFactory> factory;
std::unique_ptr<std::vector<std::unique_ptr<GNSSBlockInterface>>> channels = std::move(factory->GetChannels(configuration, queue));
EXPECT_EQ(2U, channels->size());
EXPECT_EQ(static_cast<unsigned int>(2), channels->size());
channels->erase(channels->begin(), channels->end());
}