diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-04 21:16:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-07 22:48:29 +0100 |
| commit | dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (patch) | |
| tree | e56a3f82fb9e1c8602f265bea0d0688d8a018644 /test/socket_test.cc | |
| parent | 0d35820cf50d2789752b8776683b26d04642518d (diff) | |
std::shared_ptr
Diffstat (limited to 'test/socket_test.cc')
| -rw-r--r-- | test/socket_test.cc | 5 |
1 files changed, 2 insertions, 3 deletions
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 <dcp/raw_convert.h> #include <boost/thread.hpp> #include <boost/test/unit_test.hpp> -#include <boost/shared_ptr.hpp> #include <cstring> #include <iostream> 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> socket) + void handle (std::shared_ptr<Socket> socket) { boost::mutex::scoped_lock lm (_mutex); BOOST_REQUIRE (_size); |
