mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-09-03 03:17:59 +00:00
fix: use gnss_shared_ptr instead of std::shared_ptr
This commit is contained in:

committed by
Carles Fernandez

parent
743e321b10
commit
68ed4d5a01
@@ -35,7 +35,7 @@
|
|||||||
class SensorDataFile
|
class SensorDataFile
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
using sptr = std::shared_ptr<SensorDataFile>;
|
using sptr = gnss_shared_ptr<SensorDataFile>;
|
||||||
using id_type = std::size_t;
|
using id_type = std::size_t;
|
||||||
|
|
||||||
SensorDataFile(
|
SensorDataFile(
|
||||||
|
@@ -601,7 +601,7 @@ SensorDataSource::sptr FileSourceBase::create_sensor_data_source()
|
|||||||
{
|
{
|
||||||
sensor_data_source_configuration_.set_items_per_sample(2);
|
sensor_data_source_configuration_.set_items_per_sample(2);
|
||||||
}
|
}
|
||||||
sensor_data_source_ = std::make_shared<SensorDataSource>(
|
sensor_data_source_ = gnss_make_shared<SensorDataSource>(
|
||||||
sensor_data_source_configuration_,
|
sensor_data_source_configuration_,
|
||||||
gr::io_signature::make(1, 1, item_size_));
|
gr::io_signature::make(1, 1, item_size_));
|
||||||
DLOG(INFO) << "sensor_data_source(" << sensor_data_source_->unique_id() << ")";
|
DLOG(INFO) << "sensor_data_source(" << sensor_data_source_->unique_id() << ")";
|
||||||
|
Reference in New Issue
Block a user