Skip to content

Commit c1b8115

Browse files
committed
expected after the change
1 parent c998557 commit c1b8115

File tree

1 file changed

+2
-2
lines changed
  • tests/std/tests/GH_005504_avoid_function_call_wrapping

1 file changed

+2
-2
lines changed

tests/std/tests/GH_005504_avoid_function_call_wrapping/test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ int main() {
7575
// Moves from function to move_only_function
7676
{
7777
move_only_function<function_type> fn{function<function_type>{small_callable{}}};
78-
assert(fn(copy_counter{}) == 1);
78+
assert(fn(copy_counter{}) == 0);
7979
}
8080
{
8181
move_only_function<function_type> fn{function<function_type>{large_callable{}}};
82-
assert(fn(copy_counter{}) == 1);
82+
assert(fn(copy_counter{}) == 0);
8383
}
8484
}

0 commit comments

Comments
 (0)