Page Menu
Home
Search
Configure Global Search
Log In
Paste
P2677
(An Untitled Masterwork)
Active
Public
Actions
Authored by
Jacques Lucke (JacquesLucke)
on Dec 20 2021, 1:37 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Tags
None
Subscribers
None
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
Jacques Lucke (JacquesLucke)
created this paste.
Dec 20 2021, 1:37 PM
Log In to Comment