We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ce5c4e commit 1cfb7a6Copy full SHA for 1cfb7a6
test/regressions.cpp
@@ -298,6 +298,6 @@ class CopyAndMoveCountFunctor {
298
};
299
300
TEST(regression_tests, no_extra_move_during_construction) {
301
- fu2::function<int()> f(CopyAndMoveCountFunctor{});
+ fu2::function<std::pair<int, int>()> f(CopyAndMoveCountFunctor{});
302
ASSERT_EQ(f(), std::make_pair(0, 1));
303
}
0 commit comments