1
0
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:
Carles Fernandez 2020-07-04 19:16:31 +02:00
parent 1e742afbc4
commit a82664d345
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
2 changed files with 1 additions and 3 deletions

View File

@ -36,7 +36,6 @@ Channel::Channel(const ConfigurationInterface* configuration, uint32_t channel,
acq_ = std::move(acq);
trk_ = std::move(trk);
nav_ = std::move(nav);
queue_ = queue;
role_ = role;
implementation_ = implementation;
channel_ = channel;
@ -97,7 +96,7 @@ Channel::Channel(const ConfigurationInterface* configuration, uint32_t channel,
channel_fsm_->set_tracking(trk_);
channel_fsm_->set_telemetry(nav_);
channel_fsm_->set_channel(channel_);
channel_fsm_->set_queue(queue_);
channel_fsm_->set_queue(queue);
connected_ = false;

View File

@ -89,7 +89,6 @@ private:
std::shared_ptr<TrackingInterface> trk_;
std::shared_ptr<TelemetryDecoderInterface> nav_;
channel_msg_receiver_cc_sptr channel_msg_rx_;
Concurrent_Queue<pmt::pmt_t>* queue_;
Gnss_Synchro gnss_synchro_{};
Gnss_Signal gnss_signal_;
std::string role_;