diff options
author | Josh Morman <jmorman@gnuradio.org> | 2021-11-02 13:58:09 -0400 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-11-03 07:34:38 -0400 |
commit | d71f877e54b175d6c8d6d3f9b5e40aaf403ebe9b (patch) | |
tree | 406007df06732887d59e2f316511cff4335d3738 /gnuradio-runtime/include/gnuradio/buffer.h | |
parent | 72364a503c8fef2d6f1af8ff2f906045b7c8ef31 (diff) |
runtime: mark buffer methods as override
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
Diffstat (limited to 'gnuradio-runtime/include/gnuradio/buffer.h')
-rw-r--r-- | gnuradio-runtime/include/gnuradio/buffer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnuradio-runtime/include/gnuradio/buffer.h b/gnuradio-runtime/include/gnuradio/buffer.h index 092994eae8..72fc910a47 100644 --- a/gnuradio-runtime/include/gnuradio/buffer.h +++ b/gnuradio-runtime/include/gnuradio/buffer.h @@ -70,7 +70,7 @@ public: gr::logger_ptr d_logger; gr::logger_ptr d_debug_logger; - virtual ~buffer(); + ~buffer() override; /*! * \brief return the buffer's mapping type @@ -262,12 +262,12 @@ public: /*! * \brief "on_lock" function from the custom_lock_if. */ - void on_lock(gr::thread::scoped_lock& lock); + void on_lock(gr::thread::scoped_lock& lock) override; /*! * \brief "on_unlock" function from the custom_lock_if. */ - void on_unlock(); + void on_unlock() override; friend std::ostream& operator<<(std::ostream& os, const buffer& buf); |