1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-18 05:03:01 +00:00

Add override keyword

This commit is contained in:
Carles Fernandez 2017-10-31 07:31:43 +01:00
parent f2aaf0c851
commit d287901041

View File

@ -53,13 +53,13 @@ public:
unsigned int out_streams); unsigned int out_streams);
virtual ~GlonassL1CaTelemetryDecoder(); virtual ~GlonassL1CaTelemetryDecoder();
std::string role() std::string role() override
{ {
return role_; return role_;
} }
//! Returns "GLONASS_L1_CA_Telemetry_Decoder" //! Returns "GLONASS_L1_CA_Telemetry_Decoder"
std::string implementation() std::string implementation() override
{ {
return "GLONASS_L1_CA_Telemetry_Decoder"; return "GLONASS_L1_CA_Telemetry_Decoder";
} }
@ -69,11 +69,11 @@ public:
gr::basic_block_sptr get_right_block() override; gr::basic_block_sptr get_right_block() override;
void set_satellite(const Gnss_Satellite & satellite) override; void set_satellite(const Gnss_Satellite & satellite) override;
void set_channel(int channel) override {telemetry_decoder_->set_channel(channel);} void set_channel(int channel) override {telemetry_decoder_->set_channel(channel);}
void reset() void reset() override
{ {
return; return;
} }
size_t item_size() size_t item_size() override
{ {
return 0; return 0;
} }