This commit is contained in:
Michael Davidsaver
2021-06-29 19:10:03 -07:00
parent f8cdcd4f91
commit 0e5bd37b6e
7 changed files with 16 additions and 15 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ void test_call()
auto ival(std::make_shared<int>(42));
base.call(std::bind([&called](std::shared_ptr<int>& ival) {
auto trash(std::move(ival));
testEq(trash.use_count(), 1u);
testEq(trash.use_count(), 1);
called = true;
}, std::move(ival)));
testTrue(called);