summaryrefslogtreecommitdiff
path: root/src/lib/server.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/server.cc')
-rw-r--r--src/lib/server.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/server.cc b/src/lib/server.cc
index d90ec9116..09e0a4bd0 100644
--- a/src/lib/server.cc
+++ b/src/lib/server.cc
@@ -20,12 +20,10 @@
#include "server.h"
#include "dcpomatic_socket.h"
-#include <boost/make_shared.hpp>
#include "i18n.h"
using boost::shared_ptr;
-using boost::make_shared;
Server::Server (int port)
: _terminate (false)
@@ -58,7 +56,7 @@ Server::start_accept ()
}
}
- shared_ptr<Socket> socket = make_shared<Socket> ();
+ shared_ptr<Socket> socket (new Socket);
_acceptor.async_accept (socket->socket (), boost::bind (&Server::handle_accept, this, socket, boost::asio::placeholders::error));
}