← Back to team overview

kicad-developers team mailing list archive

[PATCH 1/2] Drop extra copy ctors from IFSG_NODE

 

This is unnecessary -- explicitly specifying the regular copy ctor will
inhibit any generated versions anyway.
---
 include/plugins/3dapi/ifsg_node.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/plugins/3dapi/ifsg_node.h b/include/plugins/3dapi/ifsg_node.h
index 6b3641e..f949c80 100644
--- a/include/plugins/3dapi/ifsg_node.h
+++ b/include/plugins/3dapi/ifsg_node.h
@@ -62,9 +62,6 @@ public:
 
     // deleted operators
     IFSG_NODE( const IFSG_NODE& aParent ) = delete;
-    IFSG_NODE( IFSG_NODE& aParent ) = delete;
-    IFSG_NODE( volatile const IFSG_NODE& aParent ) = delete;
-    IFSG_NODE( volatile IFSG_NODE& aParent ) = delete;
     IFSG_NODE& operator= ( const IFSG_NODE& ) = delete;
 
     /**

Follow ups