summaryrefslogtreecommitdiff
path: root/src/core/managed/Managed.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/managed/Managed.hpp')
-rw-r--r--src/core/managed/Managed.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/managed/Managed.hpp b/src/core/managed/Managed.hpp
index 8ad609f..dd1a23a 100644
--- a/src/core/managed/Managed.hpp
+++ b/src/core/managed/Managed.hpp
@@ -357,7 +357,7 @@ public:
* Statically casts the handle to a handle of the given type.
*/
template <class T2>
- Handle<T2> cast()
+ Handle<T2> cast() const
{
return Handle<T2>(static_cast<T2 *>(ptr));
}