From dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 4 Jan 2021 21:16:53 +0100 Subject: std::shared_ptr --- test/socket_test.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'test/socket_test.cc') diff --git a/test/socket_test.cc b/test/socket_test.cc index 872136a71..b9aaba9d2 100644 --- a/test/socket_test.cc +++ b/test/socket_test.cc @@ -23,13 +23,12 @@ #include #include #include -#include #include #include using std::string; -using boost::shared_ptr; +using std::shared_ptr; using boost::bind; @@ -83,7 +82,7 @@ public: } private: - void handle (boost::shared_ptr socket) + void handle (std::shared_ptr socket) { boost::mutex::scoped_lock lm (_mutex); BOOST_REQUIRE (_size); -- cgit v1.2.3