summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-07-01 20:15:50 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-07-01 20:15:50 +0100
commit3e96d4c8a33e38d3b1e2a6017756761f02b4badf (patch)
tree0d0a7f690bfab17ce2711c7e2fd5509a938a8874
parentAssign an id to the root project (diff)
downloadslicer-main.tar.bz2
slicer-main.tar.xz
slicer-main.zip
Remove unnecessary std::moveHEADmain
-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);
}