diff options
-rw-r--r-- | source/blender/editors/animation/keyframes_keylist_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/animation/keyframes_keylist_test.cc b/source/blender/editors/animation/keyframes_keylist_test.cc index 012e087c9d8..17a21be5ae8 100644 --- a/source/blender/editors/animation/keyframes_keylist_test.cc +++ b/source/blender/editors/animation/keyframes_keylist_test.cc @@ -52,7 +52,7 @@ static void assert_act_key_column(const ActKeyColumn *column, { if (expected_frame.has_value()) { EXPECT_NE(column, nullptr); - EXPECT_NEAR(column->cfra, expected_frame.value(), KEYLIST_NEAR_ERROR); + EXPECT_NEAR(column->cfra, *expected_frame, KEYLIST_NEAR_ERROR); } else { EXPECT_EQ(column, nullptr); |