summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slicer/slicer/modelPartsTypes.impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/slicer/slicer/modelPartsTypes.impl.h b/slicer/slicer/modelPartsTypes.impl.h
index 3c29a5b..08064c2 100644
--- a/slicer/slicer/modelPartsTypes.impl.h
+++ b/slicer/slicer/modelPartsTypes.impl.h
@@ -461,7 +461,7 @@ namespace Slicer {
ModelPart::CreateFor(&model, h);
}
else {
- auto p = std::move(std::dynamic_pointer_cast<Inst>(model));
+ auto p = std::dynamic_pointer_cast<Inst>(model);
ModelPart::CreateFor(&p, h);
model = std::move(p);
}