Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnkit Meel <ankitjmeel@gmail.com>2021-11-24 15:11:37 +0300
committerAnkit Meel <ankitjmeel@gmail.com>2021-11-24 15:11:37 +0300
commit9fc5a9c78f57f11d72ab6dbaf819945c862367e1 (patch)
tree52b0b03d7276dde57094a6b85e9fe6fe006bc295 /source/blender/editors/animation
parent7ea4342e73c3b8d6323bb94096a1833ccbb309da (diff)
macOS: Fix build error due to std::optional<T>::value
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r--source/blender/editors/animation/keyframes_keylist_test.cc2
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);