summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slicer/slicer/modelParts.h2
1 files changed, 1 insertions, 1 deletions
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<ModelPart>;
using ModelPartForRootPtr = std::shared_ptr<ModelPartForRootBase>;
using TypeId = std::optional<std::string>;
- using ChildHandler = std::function<void(const std::string &, ModelPartPtr, const HookCommon *)>;
+ using ChildHandler = std::function<void(const std::string &, const ModelPartPtr &, const HookCommon *)>;
using ClassRef = std::function<ModelPartPtr(void *)>;
using HookFilter = std::function<bool(const HookCommon *)>;
using Metadata = MetaData<>;