From 8f3ddf449bc8a9174f9b29483dc5bcb55a28b8f4 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 5 Aug 2023 17:44:47 +0100 Subject: Fix constref correctness for shared_ptr parameter in ChildHandler --- slicer/slicer/modelParts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slicer/slicer/modelParts.h b/slicer/slicer/modelParts.h index e5e323f..d0a1f06 100644 --- a/slicer/slicer/modelParts.h +++ b/slicer/slicer/modelParts.h @@ -80,7 +80,7 @@ namespace Slicer { using ModelPartPtr = std::shared_ptr; using ModelPartForRootPtr = std::shared_ptr; using TypeId = std::optional; - using ChildHandler = std::function; + using ChildHandler = std::function; using ClassRef = std::function; using HookFilter = std::function; using Metadata = MetaData<>; -- cgit v1.2.3