From: jfa Date: Tue, 14 Mar 2006 06:34:17 +0000 (+0000) Subject: Fix compilation errors, appeared after merge. X-Git-Tag: T2_3_2_0a2~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a1ec02da1184a31630b34ccee65b593bbb1ec9c5;p=modules%2Fmed.git Fix compilation errors, appeared after merge. --- diff --git a/src/MEDMEM/MEDMEM_Field.hxx b/src/MEDMEM/MEDMEM_Field.hxx index 7fa8bf9b7..32c17117a 100644 --- a/src/MEDMEM/MEDMEM_Field.hxx +++ b/src/MEDMEM/MEDMEM_Field.hxx @@ -61,7 +61,7 @@ namespace MEDMEM { template < > struct SET_VALUE_TYPE { static const MED_EN::med_type_champ _valueType = MED_EN::MED_INT32; }; -class MEDMEM_EXPORT FIELD_ // GENERIC POINTER TO a template class FIELD +class FIELD_ // GENERIC POINTER TO a template class FIELD { protected: diff --git a/src/MEDMEM/MEDMEM_MedFieldDriver22.hxx b/src/MEDMEM/MEDMEM_MedFieldDriver22.hxx index aac96c949..97cff3838 100644 --- a/src/MEDMEM/MEDMEM_MedFieldDriver22.hxx +++ b/src/MEDMEM/MEDMEM_MedFieldDriver22.hxx @@ -875,8 +875,8 @@ template void MED_FIELD_RDONLY_DRIVER22::read(void) vector< int > MESHnbOfElOfType; vector< int > MESHnbOfElOfTypeC; if ( haveMesh ) - getMeshGeometricTypeFromMESH(ptrMesh,entityType,MESHgeoType, - MESHnbOfElOfType,MESHnbOfElOfTypeC); + this->getMeshGeometricTypeFromMESH(ptrMesh,entityType,MESHgeoType, + MESHnbOfElOfType,MESHnbOfElOfTypeC); int fileHasMesh = ( med_2_2::MEDdimLire(id, const_cast(meshName.c_str())) > 0); vector< MED_EN::medGeometryElement > meshGeoType; @@ -884,8 +884,8 @@ template void MED_FIELD_RDONLY_DRIVER22::read(void) vector< int > meshNbOfElOfTypeC; // Si le maillage n'est pas trouvé les tableaux renvoyés sont vides if (fileHasMesh) - getMeshGeometricTypeFromFile(id,meshName,entityType,meshGeoType, - meshNbOfElOfType,meshNbOfElOfTypeC); + this->getMeshGeometricTypeFromFile(id,meshName,entityType,meshGeoType, + meshNbOfElOfType,meshNbOfElOfTypeC); if (fileHasMesh && haveSupport ) @@ -1448,15 +1448,14 @@ template void MED_FIELD_WRONLY_DRIVER22::write(void) const MESH * meshPtr = mySupport->getMesh(); if (fileHasMesh) - getMeshGeometricTypeFromFile(id, meshName, - entityType, - fileMeshGeoType,fileMeshNbOfElOfType,fileMeshNbOfElOfTypeC); + this->getMeshGeometricTypeFromFile(id, meshName, + entityType, + fileMeshGeoType,fileMeshNbOfElOfType,fileMeshNbOfElOfTypeC); if (meshPtr) { - - getMeshGeometricTypeFromMESH( meshPtr, entityType,meshGeoType, - meshNbOfElOfType, - meshNbOfElOfTypeC); + this->getMeshGeometricTypeFromMESH( meshPtr, entityType,meshGeoType, + meshNbOfElOfType, + meshNbOfElOfTypeC); if (fileHasMesh) if ( ( fileMeshGeoType != meshGeoType ) || (fileMeshNbOfElOfTypeC != meshNbOfElOfTypeC) ) diff --git a/src/MEDMEM/MEDMEM_nArray.hxx b/src/MEDMEM/MEDMEM_nArray.hxx index 467e59749..8651cb531 100644 --- a/src/MEDMEM/MEDMEM_nArray.hxx +++ b/src/MEDMEM/MEDMEM_nArray.hxx @@ -229,7 +229,7 @@ public : if ( this == &array ) return true; int size = array.getArraySize(); - if ( size != getArraySize() ) return false; + if ( size != this->getArraySize() ) return false; ARRAY_ELEMENT_TYPE * arrayPtr = const_cast(array).getPtr();