From 6090f9001e4ea7ac396cd082935c43e7ca72f977 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Thu, 24 May 2018 09:43:04 +0200 Subject: [PATCH] netinfo.i: fix incorrect position of a declaration, that was not taken in account. Fixes: lp:1544750 https://bugs.launchpad.net/kicad/+bug/1544750 --- pcbnew/swig/netinfo.i | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/swig/netinfo.i b/pcbnew/swig/netinfo.i index 2a7ee41c34..9801c75f4c 100644 --- a/pcbnew/swig/netinfo.i +++ b/pcbnew/swig/netinfo.i @@ -2,14 +2,14 @@ %warnfilter(325) NETINFO_MAPPING::iterator; %ignore NETINFO_MAPPING; // no code generation for this class +%feature("notabstract") NETINFO_ITEM; + %include netinfo.h %{ #include %} -%feature("notabstract") NETINFO_ITEM; - // http://swig.10945.n7.nabble.com/std-containers-and-pointers-td3728.html %{ namespace swig {