diff --git a/src/tests/unit-tests/control-plane/gnss_block_factory_test.cc b/src/tests/unit-tests/control-plane/gnss_block_factory_test.cc index be9709fb4..a20b71623 100644 --- a/src/tests/unit-tests/control-plane/gnss_block_factory_test.cc +++ b/src/tests/unit-tests/control-plane/gnss_block_factory_test.cc @@ -24,11 +24,11 @@ #include "concurrent_queue.h" #include "gnss_block_factory.h" #include "gnss_block_interface.h" -#include "signal_source_interface.h" #include "gnss_sdr_make_unique.h" #include "in_memory_configuration.h" #include "observables_interface.h" #include "pvt_interface.h" +#include "signal_source_interface.h" #include "telemetry_decoder_interface.h" #include "tracking_interface.h" #include @@ -351,8 +351,8 @@ TEST(GNSSBlockFactoryTest, InstantiateWrongPvt) { std::shared_ptr configuration = std::make_shared(); configuration->set_property("PVT.implementation", "Pepito"); - std::unique_ptr factory = std::make_unique(); - std::shared_ptr pvt_ = factory->GetPVT(configuration.get()); + auto factory = std::make_unique(); + auto pvt_ = factory->GetPVT(configuration.get()); std::shared_ptr pvt = std::dynamic_pointer_cast(pvt_); EXPECT_EQ(nullptr, pvt); }