mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-11-07 02:33:03 +00:00
Use the override special identifier when overriding a virtual function
This commit is contained in:
@@ -51,23 +51,27 @@ public:
|
||||
unsigned int out_stream);
|
||||
|
||||
virtual ~DirectResamplerConditioner();
|
||||
std::string role()
|
||||
|
||||
std::string role() override
|
||||
{
|
||||
return role_;
|
||||
}
|
||||
//! returns "Direct_Resampler"
|
||||
std::string implementation()
|
||||
|
||||
//! Returns "Direct_Resampler"
|
||||
std::string implementation() override
|
||||
{
|
||||
return "Direct_Resampler";
|
||||
}
|
||||
size_t item_size()
|
||||
|
||||
size_t item_size() override
|
||||
{
|
||||
return item_size_;
|
||||
}
|
||||
void connect(gr::top_block_sptr top_block);
|
||||
void disconnect(gr::top_block_sptr top_block);
|
||||
gr::basic_block_sptr get_left_block();
|
||||
gr::basic_block_sptr get_right_block();
|
||||
|
||||
void connect(gr::top_block_sptr top_block) override;
|
||||
void disconnect(gr::top_block_sptr top_block) override;
|
||||
gr::basic_block_sptr get_left_block() override;
|
||||
gr::basic_block_sptr get_right_block() override;
|
||||
|
||||
private:
|
||||
std::string role_;
|
||||
|
||||
Reference in New Issue
Block a user