]> git.lyx.org Git - lyx.git/blobdiff - src/ServerSocket.cpp
Allow the warning to be disabled.
[lyx.git] / src / ServerSocket.cpp
index e36b071e3484630d764722380d32dc80afacea90..9b19a57315ae8a117363ea243c2c4e0d6e6ad1a2 100644 (file)
@@ -28,7 +28,7 @@
 #include "support/FileName.h"
 #include "support/socktools.h"
 
-#include <boost/bind.hpp>
+#include "support/bind.h"
 
 #include <cerrno>
 #include <ostream>
@@ -40,7 +40,7 @@
 using namespace std;
 using namespace lyx::support;
 
-using boost::shared_ptr;
+
 
 namespace lyx {
 
@@ -64,7 +64,7 @@ ServerSocket::ServerSocket(FileName const & addr)
 
        theApp()->registerSocketCallback(
                fd_,
-               boost::bind(&ServerSocket::serverCallback, this)
+               bind(&ServerSocket::serverCallback, this)
                );
 
        LYXERR(Debug::LYXSERVER, "lyx: New server socket "
@@ -115,7 +115,7 @@ void ServerSocket::serverCallback()
                shared_ptr<LyXDataSocket>(new LyXDataSocket(client_fd));
        theApp()->registerSocketCallback(
                client_fd,
-               boost::bind(&ServerSocket::dataCallback,
+               bind(&ServerSocket::dataCallback,
                            this, client_fd)
                );
 }