]> git.lyx.org Git - lyx.git/blobdiff - src/support/FileMonitor.h
hopefully fix tex2lyx linking.
[lyx.git] / src / support / FileMonitor.h
index 251c7dbdb0cb5a3d6b002e52b6014f74b7fe759d..ba84bb549e26d4918040f4df67e37699333f5c9c 100644 (file)
@@ -17,7 +17,7 @@
 
 #include <boost/utility.hpp>
 #include <boost/scoped_ptr.hpp>
-#include <boost/signals/signal0.hpp>
+#include <boost/signal.hpp>
 
 namespace lyx {
 namespace support {
@@ -52,7 +52,8 @@ public:
        unsigned long checksum() const;
 
        /// Connect and you'll be informed when the file has changed.
-       typedef boost::signal0<void>::slot_type slot_type;
+       typedef boost::signal<void()> FileChangedSig;
+       typedef FileChangedSig::slot_type slot_type;
        ///
        boost::signals::connection connect(slot_type const &) const;