diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-06-21 23:08:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-06-21 23:08:53 +0100 |
| commit | a8a0dfd1b21de6c0facf965ab119833ff6f790bf (patch) | |
| tree | 88bd3a7dd6d4ae56a1efa9b7443c341550759869 /src/lib/dcp_video.cc | |
| parent | e669b562937786bf5b771c927cc03a4074b01be8 (diff) | |
Revert "Use make_shared<>."
Support for this seems to vary wildly across DoM's build
targets. Stuff that builds on 16.04 won't build on 14.04,
for example. Seems to not be worth the hassle now.
This reverts commit 5a5324ed3a381a86dfe0a6e3932c1d58fdcd596f.
Diffstat (limited to 'src/lib/dcp_video.cc')
| -rw-r--r-- | src/lib/dcp_video.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/dcp_video.cc b/src/lib/dcp_video.cc index 6d270dab2..be69f3eed 100644 --- a/src/lib/dcp_video.cc +++ b/src/lib/dcp_video.cc @@ -47,7 +47,6 @@ #include <libxml++/libxml++.h> #include <boost/asio.hpp> #include <boost/thread.hpp> -#include <boost/make_shared.hpp> #include <stdint.h> #include <iomanip> #include <iostream> @@ -61,7 +60,6 @@ using std::string; using std::cout; using boost::shared_ptr; -using boost::make_shared; using dcp::Size; using dcp::Data; @@ -160,7 +158,7 @@ DCPVideo::encode_remotely (EncodeServerDescription serv, int timeout) boost::asio::ip::tcp::resolver::query query (serv.host_name(), raw_convert<string> (Config::instance()->server_port_base ())); boost::asio::ip::tcp::resolver::iterator endpoint_iterator = resolver.resolve (query); - shared_ptr<Socket> socket = make_shared<Socket> (timeout); + shared_ptr<Socket> socket (new Socket (timeout)); socket->connect (*endpoint_iterator); |
