diff options
Diffstat (limited to 'tests/gtests/blenlib/BLI_map_test.cc')
-rw-r--r-- | tests/gtests/blenlib/BLI_map_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gtests/blenlib/BLI_map_test.cc b/tests/gtests/blenlib/BLI_map_test.cc index 79a8786def9..7a67255d8d3 100644 --- a/tests/gtests/blenlib/BLI_map_test.cc +++ b/tests/gtests/blenlib/BLI_map_test.cc @@ -88,7 +88,7 @@ TEST(map, PopTry) map.add(1, 5); map.add(2, 7); EXPECT_EQ(map.size(), 2u); - Optional<int> value = map.pop_try(4); + std::optional<int> value = map.pop_try(4); EXPECT_EQ(map.size(), 2u); EXPECT_FALSE(value.has_value()); value = map.pop_try(2); |