Salome HOME
Fix compilation error due to integration of windows porting 894bcbdeb7
authorAnthony Geay <anthony.geay@edf.fr>
Thu, 22 Apr 2021 09:59:08 +0000 (11:59 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Thu, 22 Apr 2021 09:59:08 +0000 (11:59 +0200)
src/ICoCo/ICoCoMEDDoubleField.hxx
src/ICoCo/ICoCoMEDIntField.hxx

index ef68ea9a03988573d61c427d9f7129b533d392c9..a2de0a5f1a298567dd7f199952fba3ad31730f85 100644 (file)
@@ -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).
index 1adfbc8598a4d7d8a1e84b58e7f21254ba75a3dc..f9ef27ab3d77af22fbd872c36f38726b66471dec 100644 (file)
@@ -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).