Skip to content

Commit

Permalink
Fixed C++20 tests.
Browse files Browse the repository at this point in the history
Forgot to rename the variable in one place.
  • Loading branch information
Sedeniono committed Mar 28, 2024
1 parent e0052e4 commit 7fb3d4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ExerciseTinyOptionalPayload2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void test_TinyOptionalPayload_Cpp20NTTP()

// Floating point, stored in member.
EXERCISE_OPTIONAL(
(tiny::optional<TestClassForInplace, &TestClassForInplace::someValue2, 42.0>{}),
(tiny::optional<TestClassForInplace, &TestClassForInplace::someDouble, 42.0>{}),
EXPECT_INPLACE,
TestClassForInplace{},
TestClassForInplace(43, 44.0, 45, nullptr));
Expand Down

0 comments on commit 7fb3d4d

Please sign in to comment.