From 51de9238ddbd6b7f4cdaa5e9a5918cae952891b2 Mon Sep 17 00:00:00 2001 From: Benjamin Paassen Date: Mon, 12 Jan 2015 15:50:10 +0100 Subject: Tried to introduce another StructureNode class as common superclass for StructuredEntity, Anchor and DocumentPrimitive. Nearly seems to work, but not entirely so. There are still issues with the Manager it seems. --- src/core/managed/Managed.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/managed') 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 - Handle cast() + Handle cast() const { return Handle(static_cast(ptr)); } -- cgit v1.2.3