Salome HOME
#18963 Minimize compiler warnings
[modules/med.git] / src / MEDCalc / MEDCalcConstants.hxx
index f6fbefdc1e85602a07d801142ffc1df7e9bb1181..8d49d10c40a9ada548aed78aed502ca3dd39293c 100644 (file)
@@ -17,6 +17,8 @@
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
+#ifndef SRC_MEDCALC_CMP_MEDCALCCONSTANTS_HXX_
+
 // This constant strings are used to specify an attribute name for
 // AttributeParameter attributes associated to a SObject
 #define IS_IN_WORKSPACE  "isInWorkspace"
@@ -28,7 +30,8 @@
 #define IS_PRESENTATION  "isPresentation"
 #define PRESENTATION_TYPE  "presentationType"
 
-static const int NB_TYPE_OF_FIELDS = 4;
-static const char* mapTypeOfFieldLabel[NB_TYPE_OF_FIELDS] =
+const int NB_TYPE_OF_FIELDS = 4;
+const char* const mapTypeOfFieldLabel[NB_TYPE_OF_FIELDS] =
   {"ON_CELLS", "ON_NODES", "ON_GAUSS_PT", "ON_GAUSS_NE" };
 
+#endif