Skip to content

Commit 21663e9

Browse files
committed
test_properties fix
1 parent 66037f6 commit 21663e9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/source/gl/test_properties.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ TEST_CASE_FIXTURE(test_dynamic_properties, "is_present should return false for a
9393
}
9494

9595
TEST_CASE_FIXTURE(test_dynamic_properties, "is_present should return true for a present key") {
96-
sut.underlying()[key] = value;
96+
sut.underlying()[key] = std::any{value};
9797
CHECK(sut.is_present(key));
9898
}
9999

@@ -110,7 +110,7 @@ TEST_CASE_FIXTURE(
110110
test_dynamic_properties,
111111
"get should return a reference to the underlying object for a valid key and type"
112112
) {
113-
sut.underlying()[key] = value;
113+
sut.underlying()[key] = std::any{value};
114114

115115
compound_value& value_ref = sut.get<compound_value>(key);
116116
REQUIRE_EQ(value_ref, value);

0 commit comments

Comments
 (0)