From 21bf48561caff37cdfe6d875c690a51d81458f30 Mon Sep 17 00:00:00 2001 From: azv Date: Tue, 21 Jan 2020 09:10:09 +0300 Subject: [PATCH] Fix compilation on Linux (complete) --- src/ModelHighAPI/ModelHighAPI.i | 4 ---- src/SketchAPI/SketchAPI_BSpline.h | 5 +++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/ModelHighAPI/ModelHighAPI.i b/src/ModelHighAPI/ModelHighAPI.i index 4c5755f48..30fb144b3 100644 --- a/src/ModelHighAPI/ModelHighAPI.i +++ b/src/ModelHighAPI/ModelHighAPI.i @@ -261,8 +261,6 @@ %template(SelectionListList) std::list >; %template(RefAttrList) std::list; %template(RefList) std::list; -%template(DoubleAPIList) std::list; -%template(IntegerAPIList) std::list; // std::pair -> [] %template(ResultSubShapePair) std::pair, std::shared_ptr >; @@ -272,8 +270,6 @@ // fix compilarion error: 'res*' was not declared in this scope %typemap(freearg) const std::list & {} %typemap(freearg) const std::list > & {} -%typemap(freearg) const std::list & {} -%typemap(freearg) const std::list & {} %typemap(in) const std::list & (std::list temp) { std::shared_ptr * temp_attribute; diff --git a/src/SketchAPI/SketchAPI_BSpline.h b/src/SketchAPI/SketchAPI_BSpline.h index 70370ad0b..a72b2690a 100644 --- a/src/SketchAPI/SketchAPI_BSpline.h +++ b/src/SketchAPI/SketchAPI_BSpline.h @@ -29,8 +29,9 @@ #include -class ModelHighAPI_Double; -class ModelHighAPI_Integer; +#include +#include + class ModelHighAPI_Selection; /// \class SketchAPI_BSpline -- 2.39.2