From f6531b10353dacdcbab211a31926c165211cf3b3 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Sat, 7 Feb 2015 02:31:51 +0100 Subject: Unified handling of references to Rtti instances: Now using pointers everywhere --- test/core/common/PropertyTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/core/common/PropertyTest.cpp') 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 type = - std::make_shared(RttiTypes::Int); + std::make_shared(&RttiTypes::Int); TestObject obj{123}; { @@ -111,7 +111,7 @@ TEST(Setter, construction) TEST(Setter, validation) { std::shared_ptr type = - std::make_shared(RttiTypes::Int); + std::make_shared(&RttiTypes::Int); TestObject obj{123}; Setter setter{TestObject::setA}; @@ -164,7 +164,7 @@ TEST(Property, construction) } { - Property property{RttiTypes::Int, TestObject::getA, + Property property{&RttiTypes::Int, TestObject::getA, TestObject::setA}; ASSERT_FALSE(property.isReadonly()); -- cgit v1.2.3