]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt/GuiSearch.h
Add `override` specifiers to improve code maintainability
[features.git] / src / frontends / qt / GuiSearch.h
index a47825a25b7e433a364ffe2897f0e053feccd2bf..f61707704e12f52aaa9044205064cdcc2307130d 100644 (file)
@@ -35,10 +35,10 @@ private Q_SLOTS:
 private:
        void showEvent(QShowEvent * e);
        ///
-       bool initialiseParams(std::string const &) { return true; }
-       void clearParams() {}
-       void dispatchParams() {}
-       bool isBufferDependent() const { return true; }
+       bool initialiseParams(std::string const &) override { return true; }
+       void clearParams() override {}
+       void dispatchParams() override {}
+       bool isBufferDependent() const override { return true; }
 
        /// Searches occurrence of string
        void find(docstring const & search,