This commit is contained in:
Michael Davidsaver committed 2021-07-02 13:15:50 -07:00
1 parent f8cdcd4f91
commit 0e5bd37b6e
7 files changed
+16 -15

No files matched your search

+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);