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/plugins/xml/XmlParserTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/plugins/xml/XmlParserTest.cpp') diff --git a/test/plugins/xml/XmlParserTest.cpp b/test/plugins/xml/XmlParserTest.cpp index 4b5e1e4..af1ef56 100644 --- a/test/plugins/xml/XmlParserTest.cpp +++ b/test/plugins/xml/XmlParserTest.cpp @@ -120,7 +120,7 @@ static Rooted checkStructuredClass( Handle superclass = nullptr, bool transparent = false, bool root = false) { - auto res = domain->resolve(RttiTypes::StructuredClass, resolve); + auto res = domain->resolve(&RttiTypes::StructuredClass, resolve); if (res.size() != 1) { throw OusiaException("resolution error!"); } @@ -146,7 +146,7 @@ static Rooted checkAnnotationClass( const std::string &resolve, const std::string &name, Handle domain, Handle attributesDescriptor = nullptr) { - auto res = domain->resolve(RttiTypes::AnnotationClass, resolve); + auto res = domain->resolve(&RttiTypes::AnnotationClass, resolve); if (res.size() != 1) { throw OusiaException("resolution error!"); } @@ -183,7 +183,7 @@ static void checkFieldDescriptor( FieldDescriptor::FieldType type = FieldDescriptor::FieldType::TREE, Handle primitiveType = nullptr, bool optional = false) { - auto res = desc->resolve(RttiTypes::FieldDescriptor, name); + auto res = desc->resolve(&RttiTypes::FieldDescriptor, name); ASSERT_EQ(1, res.size()); checkFieldDescriptor(res[0].node, name, parent, children, type, primitiveType, optional); -- cgit v1.2.3