diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2014-12-21 23:50:58 +0100 |
---|---|---|
committer | Andreas Stöckel <andreas@somweyr.de> | 2014-12-21 23:50:58 +0100 |
commit | 1a924c27789483ac43134d6fdedd80fa24a9d0b9 (patch) | |
tree | 3e8d1b2e942cbe7745c7a121f97c521fc2c4e45e /src/core | |
parent | be83abccf09a339f7356ff6ba6b89f5a46e6da57 (diff) |
some insignificant changes
Diffstat (limited to 'src/core')
-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 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 <class T2> Handle<T2> cast() { - return Handle<T2>{static_cast<T2 *>(ptr)}; + return Handle<T2>(static_cast<T2 *>(ptr)); } }; @@ -303,7 +303,7 @@ private: public: /** - * Creates an empty Owned. + * Creates a Rooted handle pointing at the null pointer. */ Rooted() : Handle<T>(nullptr){}; |