diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-02-07 02:31:51 +0100 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-02-07 02:31:51 +0100 |
commit | f6531b10353dacdcbab211a31926c165211cf3b3 (patch) | |
tree | b0c6508bb58b5a34e4b4f8007af5af44fd38aca1 /test/core/common/PropertyTest.cpp | |
parent | 6b3b2f5965e5dfb2000bb9c23f11a83e175741de (diff) |
Unified handling of references to Rtti instances: Now using pointers everywhere
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()); |