]> git.lyx.org Git - lyx.git/blobdiff - src/support/forkedcall.h
* lyxfunctional.h: delete compare_memfun and helper classes
[lyx.git] / src / support / forkedcall.h
index a3843e366ae47de223235a2c9ce62498a1af1d73..d746d543e7870468d7c69bba1fc69f292b4ab346 100644 (file)
@@ -27,8 +27,7 @@
 #define FORKEDCALL_H
 
 #include <boost/shared_ptr.hpp>
-#include <boost/signals/signal2.hpp>
-#include <boost/function/function0.hpp>
+#include <boost/signal.hpp>
 
 #include <sys/types.h>
 
@@ -61,7 +60,7 @@ public:
         *  we can return easily to C++ methods, rather than just globally
         *  accessible functions.
         */
-       typedef boost::signal2<void, pid_t, int> SignalType;
+       typedef boost::signal<void(pid_t, int)> SignalType;
 
        /** The signal is connected in the calling routine to the desired
         *  slot. We pass a shared_ptr rather than a reference to the signal