[3.0] Fix Message Buffer leak and added DEBUG_ASSERT for leaking nodes
[platform/core/uifw/dali-core.git] / dali / internal / update / nodes / scene-graph-layer.h
index d3ea452..f56bdd3 100644 (file)
@@ -332,6 +332,10 @@ inline void SetDepthTestDisabledMessage( EventThreadServices& eventThreadService
 
 } // namespace SceneGraph
 
+// Template specialisation for OwnerPointer<Layer>, because delete is protected
+template <>
+void OwnerPointer<Dali::Internal::SceneGraph::Layer>::Reset();
+
 } // namespace Internal
 
 } // namespace Dali