]> git.lyx.org Git - features.git/blobdiff - src/support/forkedcontr.h
Make the d-tor public to make Dekel's compiler happy.
[features.git] / src / support / forkedcontr.h
index 96db3f9655a50c00d99e6720b1c635528de401fa..c443a5da1ba3c38131dfc47dd5fbe6e1a2d42eec 100644 (file)
@@ -29,6 +29,11 @@ class Timeout;
 
 class ForkedcallsController : public SigC::Object {
 public:
+       /** This d-tor should really be private, but making it public
+        *   allows egcs 1.1 to compile the class.
+        */
+       ~ForkedcallsController();
+
        /// Get hold of the only controller that can exist inside the process.
         static ForkedcallsController & get();
 
@@ -62,8 +67,6 @@ private:
        ForkedcallsController();
        ///
        ForkedcallsController(ForkedcallsController const &);
-       ///
-       ~ForkedcallsController();
 
        /// The child processes
        typedef std::list<Forkedcall *> ListType;