From 1a924c27789483ac43134d6fdedd80fa24a9d0b9 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Sun, 21 Dec 2014 23:50:58 +0100 Subject: some insignificant changes --- src/core/managed/Managed.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core') diff --git a/src/core/managed/Managed.hpp b/src/core/managed/Managed.hpp index 6a7b831..4f60376 100644 --- a/src/core/managed/Managed.hpp +++ b/src/core/managed/Managed.hpp @@ -56,7 +56,7 @@ class RttiBase; * the makeRooted and makeOwned functions. * * Managed additionally offer the ability to attach arbitrary data to them (with - * no overhead for objects which do not use this ability). RTTI type information + * no overhead for objects which do not use this ability). RTTI type information * about the actual Managed object type can be retrieved using the type() and * isa() functions. The acquire() function allows to convinently convert an * Handle to another object to an Owned instance, owned by this Managed @@ -275,7 +275,7 @@ public: template Handle cast() { - return Handle{static_cast(ptr)}; + return Handle(static_cast(ptr)); } }; @@ -303,7 +303,7 @@ private: public: /** - * Creates an empty Owned. + * Creates a Rooted handle pointing at the null pointer. */ Rooted() : Handle(nullptr){}; -- cgit v1.2.3