From ba92d679232e08bd4d1b98766118acfba712627b Mon Sep 17 00:00:00 2001 From: Tim Blechmann Date: Sat, 14 Dec 2024 11:54:06 +0800 Subject: [PATCH] tests: appleclang compile fix --- test/queue_test.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/queue_test.cpp b/test/queue_test.cpp index a47d8bf..16ac1bc 100644 --- a/test/queue_test.cpp +++ b/test/queue_test.cpp @@ -19,9 +19,7 @@ #include -using namespace boost; using namespace boost::lockfree; -using namespace std; BOOST_AUTO_TEST_CASE( simple_queue_test ) { @@ -152,7 +150,7 @@ BOOST_AUTO_TEST_CASE( queue_convert_pop_test ) } { - unique_ptr< int > i3; + std::unique_ptr< int > i3; BOOST_TEST_REQUIRE( f.pop( i3 ) ); BOOST_TEST_REQUIRE( *i3 == 3 );