Skip to content

Commit

Permalink
fix namespace of move function in tests.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvan-xy committed Feb 22, 2024
1 parent bc9400c commit bd4b2f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ void stress() {

template<class Q>
void test_unique_ptr_int(Q& q) {
using std::move;
BOOST_CHECK(q.was_empty());
BOOST_CHECK_EQUAL(q.was_size(), 0u);
std::unique_ptr<int> p{new int{1}};
Expand Down Expand Up @@ -266,4 +267,4 @@ BOOST_AUTO_TEST_CASE(power_of_2) {
static_assert(round_up_to_power_of_2(0x40000000u + 1) == 0x80000000u, "");
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

0 comments on commit bd4b2f3

Please sign in to comment.