Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix indentation
[modules/smesh.git]
/
src
/
SMESH
/
SMESH_Mesh.cxx
diff --git
a/src/SMESH/SMESH_Mesh.cxx
b/src/SMESH/SMESH_Mesh.cxx
index 4a00711b7a6f76286586fd9afc2cf8cc7fed0186..242c7cb3ae5c5c6bec8923c88b63375bbd536eee 100644
(file)
--- a/
src/SMESH/SMESH_Mesh.cxx
+++ b/
src/SMESH/SMESH_Mesh.cxx
@@
-143,7
+143,7
@@
SMESH_Mesh::SMESH_Mesh():
namespace
{
#ifndef WIN32
namespace
{
#ifndef WIN32
- void deleteMeshDS(SMESHDS_Mesh* meshDS)
+
void deleteMeshDS(SMESHDS_Mesh* meshDS)
{
//cout << "deleteMeshDS( " << meshDS << endl;
delete meshDS;
{
//cout << "deleteMeshDS( " << meshDS << endl;
delete meshDS;
@@
-152,18
+152,18
@@
namespace
static void* deleteMeshDS(void* meshDS)
{
//cout << "deleteMeshDS( " << meshDS << endl;
static void* deleteMeshDS(void* meshDS)
{
//cout << "deleteMeshDS( " << meshDS << endl;
-
SMESHDS_Mesh* m = (SMESHDS_Mesh*)meshDS;
- if(m) {
- delete m;
-
}
- return 0;
+ SMESHDS_Mesh* m = (SMESHDS_Mesh*)meshDS;
+ if(m) {
+ delete m;
+ }
+
return 0;
}
#endif
}
//=============================================================================
/*!
}
#endif
}
//=============================================================================
/*!
- *
+ *
*/
//=============================================================================
*/
//=============================================================================
@@
-207,7
+207,7
@@
SMESH_Mesh::~SMESH_Mesh()
_myDocument = 0;
if ( _myMeshDS ) {
_myDocument = 0;
if ( _myMeshDS ) {
- // delete _myMeshDS, in a thread in order not to block closing a study with large meshes
+ // delete _myMeshDS, in a thread in order not to block closing a study with large meshes
#ifndef WIN32
boost::thread aThread(boost::bind( & deleteMeshDS, _myMeshDS ));
#else
#ifndef WIN32
boost::thread aThread(boost::bind( & deleteMeshDS, _myMeshDS ));
#else