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 --- src/core/managed/Managed.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/managed/Managed.hpp') diff --git a/src/core/managed/Managed.hpp b/src/core/managed/Managed.hpp index 7c43527..4784e46 100644 --- a/src/core/managed/Managed.hpp +++ b/src/core/managed/Managed.hpp @@ -245,7 +245,7 @@ public: * @return a reference to the registered Rtti for this particular * Managed class. */ - const Rtti &type() const; + const Rtti *type() const; /** * Returns true if this Managed instance is of the type described by the @@ -255,7 +255,7 @@ public: * class is of the given type or one of the registered parent types is of * the given type. */ - bool isa(const Rtti &t) const; + bool isa(const Rtti *t) const; /** * Returns true if this Managed instance may contain instances of the type @@ -264,7 +264,7 @@ public: * @param true if the Rtti registered for this particular Managed class * may contain instance of the given type. */ - bool composedOf(const Rtti &t) const; + bool composedOf(const Rtti *t) const; }; /** -- cgit v1.2.3