diff options
Diffstat (limited to 'test/core/common/PropertyTest.cpp')
-rw-r--r-- | test/core/common/PropertyTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/core/common/PropertyTest.cpp b/test/core/common/PropertyTest.cpp index 0f3d74e..f57b4c0 100644 --- a/test/core/common/PropertyTest.cpp +++ b/test/core/common/PropertyTest.cpp @@ -62,7 +62,7 @@ TEST(Getter, construction) TEST(Getter, validation) { std::shared_ptr<PropertyType> type = - std::make_shared<PropertyType>(RttiTypes::Int); + std::make_shared<PropertyType>(&RttiTypes::Int); TestObject obj{123}; { @@ -111,7 +111,7 @@ TEST(Setter, construction) TEST(Setter, validation) { std::shared_ptr<PropertyType> type = - std::make_shared<PropertyType>(RttiTypes::Int); + std::make_shared<PropertyType>(&RttiTypes::Int); TestObject obj{123}; Setter<TestObject> setter{TestObject::setA}; @@ -164,7 +164,7 @@ TEST(Property, construction) } { - Property<TestObject> property{RttiTypes::Int, TestObject::getA, + Property<TestObject> property{&RttiTypes::Int, TestObject::getA, TestObject::setA}; ASSERT_FALSE(property.isReadonly()); |