]> git.lyx.org Git - features.git/blobdiff - src/support/ForkedCalls.h
Add `override` specifiers to improve code maintainability
[features.git] / src / support / ForkedCalls.h
index 51cacd6d7975a13ebf4097cad53506d00cfa88eb..681b88965d6904a35e255fc9661467465a8a71f5 100644 (file)
@@ -157,7 +157,7 @@ public:
        ForkedCall(std::string const & path = empty_string(),
                   std::string const & lpath = empty_string());
        ///
-       virtual std::shared_ptr<ForkedProcess> clone() const {
+       std::shared_ptr<ForkedProcess> clone() const override {
                return std::make_shared<ForkedCall>(*this);
        }
 
@@ -181,7 +181,7 @@ public:
 
 private:
        ///
-       virtual int generateChild();
+       int generateChild() override;
        ///
        std::string cmd_prefix_;
 };