From 0ddc7dbc95ca6fb4c4a62a3c027104d6dd71fc3b Mon Sep 17 00:00:00 2001 From: Marcus Müller <mmueller@gnuradio.org> Date: Fri, 30 Oct 2020 18:22:33 +0100 Subject: modernization: `override` instead of virtual in all compilation units --- gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.h') 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 */ -- cgit v1.2.3