From 04a5431e241817886a1a5a3e9a712ada9810ef52 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Thu, 22 Apr 2021 11:59:08 +0200 Subject: [PATCH] Fix compilation error due to integration of windows porting 894bcbdeb7 --- src/ICoCo/ICoCoMEDDoubleField.hxx | 4 ++++ src/ICoCo/ICoCoMEDIntField.hxx | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/ICoCo/ICoCoMEDDoubleField.hxx b/src/ICoCo/ICoCoMEDDoubleField.hxx index ef68ea9a0..a2de0a5f1 100644 --- a/src/ICoCo/ICoCoMEDDoubleField.hxx +++ b/src/ICoCo/ICoCoMEDDoubleField.hxx @@ -45,7 +45,11 @@ namespace ICoCo * @sa the MEDCoupling documentation, notably the reference counter mechanism used to manage the lifecycle of * MEDCoupling objects. */ +#ifndef SWIG class MEDCOUPLINGICOCO_EXPORT MEDDoubleField : public ICoCo::Field +#else + class MEDDoubleField : public ICoCo::Field +#endif { public: /*! Builds an empty field (internal MEDCoupling object not set). diff --git a/src/ICoCo/ICoCoMEDIntField.hxx b/src/ICoCo/ICoCoMEDIntField.hxx index 1adfbc859..f9ef27ab3 100644 --- a/src/ICoCo/ICoCoMEDIntField.hxx +++ b/src/ICoCo/ICoCoMEDIntField.hxx @@ -44,7 +44,11 @@ namespace ICoCo * @sa the MEDCoupling documentation, notably the reference counter mechanism used to manage the lifecycle of * MEDCoupling objects. */ +#ifndef SWIG class MEDCOUPLINGICOCO_EXPORT MEDIntField : public ICoCo::Field +#else + class MEDIntField : public ICoCo::Field +#endif { public: /*! Builds an empty field (internal MEDCoupling object not set). -- 2.39.2