summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.h
diff options
context:
space:
mode:
authorMarcus Müller <mmueller@gnuradio.org>2020-10-30 18:22:33 +0100
committermormj <34754695+mormj@users.noreply.github.com>2020-11-03 14:07:23 -0500
commit0ddc7dbc95ca6fb4c4a62a3c027104d6dd71fc3b (patch)
treeb454053fdc123711f3011b8a703de38e1d783ba3 /gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.h
parent1cfd6287635e339b313e1826fdfda23f474c91c8 (diff)
modernization: `override` instead of virtual in all compilation units
Diffstat (limited to 'gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.h')
-rw-r--r--gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.h b/gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.h
index ac3a7391ba..ea5460d9f5 100644
--- a/gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.h
+++ b/gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.h
@@ -24,7 +24,7 @@ class GR_RUNTIME_API vmcircbuf_mmap_shm_open : public gr::vmcircbuf
{
public:
vmcircbuf_mmap_shm_open(int size);
- virtual ~vmcircbuf_mmap_shm_open();
+ ~vmcircbuf_mmap_shm_open() override;
};
/*!
@@ -38,19 +38,19 @@ private:
public:
static gr::vmcircbuf_factory* singleton();
- virtual const char* name() const { return "gr::vmcircbuf_mmap_shm_open_factory"; }
+ const char* name() const override { return "gr::vmcircbuf_mmap_shm_open_factory"; }
/*!
* \brief return granularity of mapping, typically equal to page size
*/
- virtual int granularity();
+ int granularity() override;
/*!
* \brief return a gr::vmcircbuf, or 0 if unable.
*
* Call this to create a doubly mapped circular buffer.
*/
- virtual gr::vmcircbuf* make(int size);
+ gr::vmcircbuf* make(int size) override;
};
} /* namespace gr */