Page MenuHome
Paste P2677

(An Untitled Masterwork)
ActivePublic

Authored by Jacques Lucke (JacquesLucke) on Dec 20 2021, 1:37 PM.
diff --git a/source/blender/blenlib/tests/BLI_any_test.cc b/source/blender/blenlib/tests/BLI_any_test.cc
index 226088cf3c7..c9ac87aab4f 100644
--- a/source/blender/blenlib/tests/BLI_any_test.cc
+++ b/source/blender/blenlib/tests/BLI_any_test.cc
@@ -9,7 +9,7 @@ namespace blender::tests {
TEST(any, DefaultConstructor)
{
- Any a;
+ Any<> a;
EXPECT_FALSE(a.has_value());
}
@@ -64,9 +64,9 @@ TEST(any, AssignAny)
{
Any<> a = 5;
Any<> b = std::string("hello");
- Any c;
+ Any<> c;
- Any z;
+ Any<> z;
EXPECT_FALSE(z.has_value());
z = a;

Event Timeline