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 /src/core/managed/Managed.hpp | |
parent | 6b3b2f5965e5dfb2000bb9c23f11a83e175741de (diff) |
Unified handling of references to Rtti instances: Now using pointers everywhere
Diffstat (limited to 'src/core/managed/Managed.hpp')
-rw-r--r-- | src/core/managed/Managed.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; }; /** |