mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-04 11:35:37 +05:00
Fix compilation problems on Win32 Platform
This commit is contained in:
parent
ea83f5820d
commit
c6130fee7b
@ -21,8 +21,6 @@
|
||||
// Created : Mon Aug 2 10:30:00 2004
|
||||
// Author : Edward AGAPOV (eap)
|
||||
|
||||
using namespace std;
|
||||
|
||||
#include "SMESH_Block.hxx"
|
||||
|
||||
#include <BRepAdaptor_Curve.hxx>
|
||||
|
@ -21,8 +21,6 @@
|
||||
// Created : Mon Aug 2 10:30:00 2004
|
||||
// Author : Edward AGAPOV (eap)
|
||||
|
||||
using namespace std;
|
||||
|
||||
#include "SMESH_Pattern.hxx"
|
||||
|
||||
#include <BRepAdaptor_Curve.hxx>
|
||||
|
@ -54,7 +54,7 @@ class QListBox;
|
||||
class QListBoxItem;
|
||||
class SMESHGUI;
|
||||
|
||||
typedef map<std::string, int> MapIOR;
|
||||
typedef std::map<std::string, int> MapIOR;
|
||||
|
||||
//=================================================================================
|
||||
// class : SMESHGUI_EditHypothesesDlg
|
||||
|
@ -26,8 +26,6 @@
|
||||
|
||||
#include <SMESHGUI_FileInfoDlg.h>
|
||||
|
||||
#include <MED_Common.hxx>
|
||||
|
||||
#include <qlayout.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlineedit.h>
|
||||
|
@ -56,7 +56,7 @@ namespace SMESH
|
||||
QString name = baseName;
|
||||
while ( !aStudy->FindObjectByName( name.latin1(), "SMESH" ).empty() ) {
|
||||
int nb = 0;
|
||||
if ( name[ name.length()-1 ].isNumber() ) {
|
||||
if ( name.at( name.length()-1 ).isNumber() ) {
|
||||
int nbBeg = name.findRev("_");
|
||||
nb = name.right( name.length() - nbBeg - 1 ).toInt();
|
||||
name = name.left( nbBeg );
|
||||
|
@ -24,8 +24,6 @@
|
||||
// File : StdMeshers_Penta_3D.cxx
|
||||
// Module : SMESH
|
||||
|
||||
using namespace std;
|
||||
|
||||
#include "StdMeshers_Penta_3D.hxx"
|
||||
|
||||
#include "utilities.h"
|
||||
|
@ -25,8 +25,6 @@
|
||||
// Created : Fri Oct 27 10:24:28 2006
|
||||
// Author : Edward AGAPOV (eap)
|
||||
|
||||
using namespace std;
|
||||
|
||||
#include "StdMeshers_ProjectionUtils.hxx"
|
||||
|
||||
#include "StdMeshers_ProjectionSource1D.hxx"
|
||||
@ -66,6 +64,8 @@ using namespace std;
|
||||
#include <TopTools_DataMapIteratorOfDataMapOfShapeShape.hxx>
|
||||
#include <TopTools_DataMapIteratorOfDataMapOfShapeListOfShape.hxx>
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
#define RETURN_BAD_RESULT(msg) { MESSAGE(")-: Error: " << msg); return false; }
|
||||
#define SHOW_VERTEX(v,msg) // { \
|
||||
|
@ -1007,7 +1007,7 @@ bool StdMeshers_QuadToTriaAdaptor::Compute2ndPart(SMESH_Mesh& aMesh)
|
||||
std::list<const SMDS_FaceOfNodes*> triasI = (*itrmI).second;
|
||||
std::list<const SMDS_FaceOfNodes*>::iterator ittI = triasI.begin();
|
||||
int nbfI = triasI.size();
|
||||
const SMDS_FaceOfNodes* FsI[nbfI];
|
||||
vector<const SMDS_FaceOfNodes*> FsI(nbfI);
|
||||
k = 0;
|
||||
for(; ittI!=triasI.end(); ittI++) {
|
||||
FsI[k] = (*ittI);
|
||||
@ -1025,7 +1025,7 @@ bool StdMeshers_QuadToTriaAdaptor::Compute2ndPart(SMESH_Mesh& aMesh)
|
||||
std::list<const SMDS_FaceOfNodes*> triasJ = (*itrmJ).second;
|
||||
std::list<const SMDS_FaceOfNodes*>::iterator ittJ = triasJ.begin();
|
||||
int nbfJ = triasJ.size();
|
||||
const SMDS_FaceOfNodes* FsJ[nbfJ];
|
||||
vector<const SMDS_FaceOfNodes*> FsJ(nbfJ);
|
||||
k = 0;
|
||||
for(; ittJ!=triasJ.end(); ittJ++) {
|
||||
FsJ[k] = (*ittJ);
|
||||
|
@ -49,7 +49,7 @@ public:
|
||||
|
||||
};
|
||||
|
||||
class StdMeshers_UseExisting_1D: public SMESH_1D_Algo
|
||||
class STDMESHERS_EXPORT StdMeshers_UseExisting_1D: public SMESH_1D_Algo
|
||||
{
|
||||
public:
|
||||
StdMeshers_UseExisting_1D(int hypId, int studyId, SMESH_Gen* gen);
|
||||
|
@ -26,8 +26,6 @@
|
||||
// Module : SMESH
|
||||
// $Header$
|
||||
|
||||
using namespace std;
|
||||
|
||||
#include "StdMeshers_ProjectionSource1D_i.hxx"
|
||||
|
||||
#include "SMESH_Gen_i.hxx"
|
||||
@ -39,6 +37,10 @@ using namespace std;
|
||||
|
||||
#include "StdMeshers_ObjRefUlils.hxx"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
|
||||
//=============================================================================
|
||||
/*!
|
||||
* StdMeshers_ProjectionSource1D_i::StdMeshers_ProjectionSource1D_i
|
||||
|
Loading…
Reference in New Issue
Block a user