summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slicer/slicer/modelParts.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/slicer/slicer/modelParts.h b/slicer/slicer/modelParts.h
index b4d1eb7..98de0d6 100644
--- a/slicer/slicer/modelParts.h
+++ b/slicer/slicer/modelParts.h
@@ -128,13 +128,9 @@ namespace Slicer {
class DLL_PUBLIC ModelPart {
public:
ModelPart() = default;
- ModelPart(const ModelPart &) = delete;
- ModelPart(ModelPart &&) = delete;
-
virtual ~ModelPart() = default;
- ModelPart & operator=(const ModelPart &) = delete;
- ModelPart & operator=(ModelPart &&) = delete;
+ SPECIAL_MEMBERS_DEFAULT(ModelPart);
template<typename MP> static void Make(typename MP::element_type * t, const ModelPartHandler &);
template<typename T> static void CreateFor(T * t, const ModelPartHandler &);