From 0949140d36aac3a3083787767209ad239e964e73 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Tue, 30 Jun 2020 18:32:26 +0200 Subject: Fix compile error This is the same issue as in rBbcf49d13e53454. --- tests/gtests/blenlib/BLI_map_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/gtests/blenlib/BLI_map_test.cc b/tests/gtests/blenlib/BLI_map_test.cc index 062c9aa46bb..3b72795d36f 100644 --- a/tests/gtests/blenlib/BLI_map_test.cc +++ b/tests/gtests/blenlib/BLI_map_test.cc @@ -94,7 +94,7 @@ TEST(map, PopTry) value = map.pop_try(2); EXPECT_EQ(map.size(), 1u); EXPECT_TRUE(value.has_value()); - EXPECT_EQ(value.value(), 7); + EXPECT_EQ(*value, 7); EXPECT_EQ(*map.pop_try(1), 5); EXPECT_EQ(map.size(), 0u); } -- cgit v1.2.3