← Back to team overview

kicad-developers team mailing list archive

[PATCH 4/4] Clean up ambiguous default ctor (MSVC warning C4520)

 

---
 gerbview/class_am_param.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gerbview/class_am_param.h b/gerbview/class_am_param.h
index deeb93e..3d95b7c 100644
--- a/gerbview/class_am_param.h
+++ b/gerbview/class_am_param.h
@@ -162,7 +162,7 @@ public:
         m_dvalue = aValue;
         m_ivalue = 0;
     }
-    AM_PARAM_ITEM( parm_item_type aType = NOP, int aValue = 0)
+    AM_PARAM_ITEM( parm_item_type aType, int aValue )
     {
         m_type = aType;
         m_dvalue = 0.0;

Follow ups

References