]> git.lyx.org Git - features.git/blobdiff - src/support/ForkedCalls.h
Revert "Amend 3093789e for cmake build"
[features.git] / src / support / ForkedCalls.h
index 8a4bf1d4aa40a9cc53a4e904fd73ff464eab4cbc..681b88965d6904a35e255fc9661467465a8a71f5 100644 (file)
@@ -141,7 +141,7 @@ private:
 /**
  * An instance of class ForkedCall represents a single child process.
  *
- * Class ForkedCall uses fork() and execvp() to lauch the child process.
+ * Class ForkedCall uses fork() and execvp() to launch the child process.
  *
  * Once launched, control is returned immediately to the parent process
  * but a Signal can be emitted upon completion of the child.
@@ -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_;
 };