Skip to content

Commit

Permalink
Fix unqualified move error in tests.cc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvan-xy authored Feb 22, 2024
1 parent bc9400c commit 10ae35d
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 10ae35d

Please sign in to comment.