← Back to team overview

kicad-developers team mailing list archive

[PATCH] Make declarations of SELECTION consistent

 

Hi,

this is an actual problem with VS 2015, which uses different name mangling
rules for "struct" and "class". This makes all instances use "struct".

   Simon

---
 pcbnew/dialogs/dialog_track_via_properties.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pcbnew/dialogs/dialog_track_via_properties.h b/pcbnew/dialogs/dialog_track_via_properties.h
index 9a5c85a..08fb945 100644
--- a/pcbnew/dialogs/dialog_track_via_properties.h
+++ b/pcbnew/dialogs/dialog_track_via_properties.h
@@ -27,7 +27,7 @@
 #include <boost/optional.hpp>
 #include <layers_id_colors_and_visibility.h>
 
-class SELECTION;
+struct SELECTION;
 class PCB_BASE_FRAME;
 
 class DIALOG_TRACK_VIA_PROPERTIES : public DIALOG_TRACK_VIA_PROPERTIES_BASE

Follow ups