mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 12:10:34 +00:00
Avoid unnecessary pointer copy
This commit is contained in:
parent
1e742afbc4
commit
a82664d345
@ -36,7 +36,6 @@ Channel::Channel(const ConfigurationInterface* configuration, uint32_t channel,
|
|||||||
acq_ = std::move(acq);
|
acq_ = std::move(acq);
|
||||||
trk_ = std::move(trk);
|
trk_ = std::move(trk);
|
||||||
nav_ = std::move(nav);
|
nav_ = std::move(nav);
|
||||||
queue_ = queue;
|
|
||||||
role_ = role;
|
role_ = role;
|
||||||
implementation_ = implementation;
|
implementation_ = implementation;
|
||||||
channel_ = channel;
|
channel_ = channel;
|
||||||
@ -97,7 +96,7 @@ Channel::Channel(const ConfigurationInterface* configuration, uint32_t channel,
|
|||||||
channel_fsm_->set_tracking(trk_);
|
channel_fsm_->set_tracking(trk_);
|
||||||
channel_fsm_->set_telemetry(nav_);
|
channel_fsm_->set_telemetry(nav_);
|
||||||
channel_fsm_->set_channel(channel_);
|
channel_fsm_->set_channel(channel_);
|
||||||
channel_fsm_->set_queue(queue_);
|
channel_fsm_->set_queue(queue);
|
||||||
|
|
||||||
connected_ = false;
|
connected_ = false;
|
||||||
|
|
||||||
|
@ -89,7 +89,6 @@ private:
|
|||||||
std::shared_ptr<TrackingInterface> trk_;
|
std::shared_ptr<TrackingInterface> trk_;
|
||||||
std::shared_ptr<TelemetryDecoderInterface> nav_;
|
std::shared_ptr<TelemetryDecoderInterface> nav_;
|
||||||
channel_msg_receiver_cc_sptr channel_msg_rx_;
|
channel_msg_receiver_cc_sptr channel_msg_rx_;
|
||||||
Concurrent_Queue<pmt::pmt_t>* queue_;
|
|
||||||
Gnss_Synchro gnss_synchro_{};
|
Gnss_Synchro gnss_synchro_{};
|
||||||
Gnss_Signal gnss_signal_;
|
Gnss_Signal gnss_signal_;
|
||||||
std::string role_;
|
std::string role_;
|
||||||
|
Loading…
Reference in New Issue
Block a user