diff --git a/include/common.h b/include/common.h index 188993d046..9fe99c68c5 100644 --- a/include/common.h +++ b/include/common.h @@ -49,6 +49,7 @@ #include #include #include +#include class PROJECT; class SEARCH_STACK; @@ -106,8 +107,10 @@ private: extern KIID niluuid; +// declare KIID_VECT_LIST as std::vector both for c++ and swig: +DECL_VEC_FOR_SWIG( KIID_VECT_LIST, KIID ) -class KIID_PATH : public std::vector +class KIID_PATH : public KIID_VECT_LIST { public: KIID_PATH()