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 c998557 commit c1b8115Copy full SHA for c1b8115
tests/std/tests/GH_005504_avoid_function_call_wrapping/test.cpp
@@ -75,10 +75,10 @@ int main() {
75
// Moves from function to move_only_function
76
{
77
move_only_function<function_type> fn{function<function_type>{small_callable{}}};
78
- assert(fn(copy_counter{}) == 1);
+ assert(fn(copy_counter{}) == 0);
79
}
80
81
move_only_function<function_type> fn{function<function_type>{large_callable{}}};
82
83
84
0 commit comments