mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-15 21:01:26 +05:00
Corrections for Windows compilation
This commit is contained in:
parent
3c51726026
commit
57c1f8af17
@ -158,6 +158,8 @@ int importShape(const std::string shape_file, TopoDS_Shape& aShape){
|
|||||||
} else {
|
} else {
|
||||||
throw SALOME_Exception("Unknow format for importShape: " + type);
|
throw SALOME_Exception("Unknow format for importShape: " + type);
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
return 0;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -180,5 +182,7 @@ int exportShape(const std::string shape_file, const TopoDS_Shape& aShape){
|
|||||||
} else {
|
} else {
|
||||||
throw SALOME_Exception("Unknow format for exportShape: " + type);
|
throw SALOME_Exception("Unknow format for exportShape: " + type);
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
return 0;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -7042,7 +7042,7 @@ TListOfListOfInt SMESH_Mesh_i::findConcurrentSubMeshes()
|
|||||||
* \brief Set the number of threads for a parallel computation
|
* \brief Set the number of threads for a parallel computation
|
||||||
*/
|
*/
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
void SMESH_Mesh_i::SetNbThreads(int nbThreads){
|
void SMESH_Mesh_i::SetNbThreads(long nbThreads){
|
||||||
_impl->SetNbThreads(nbThreads);
|
_impl->SetNbThreads(nbThreads);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -673,7 +673,7 @@ private:
|
|||||||
SMESH::submesh_array_array& theSubMeshOrder,
|
SMESH::submesh_array_array& theSubMeshOrder,
|
||||||
const bool theIsDump);
|
const bool theIsDump);
|
||||||
|
|
||||||
void SetNbThreads(int nbThreads);
|
void SetNbThreads(long nbThreads);
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Finds concurrent sub-meshes
|
* \brief Finds concurrent sub-meshes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user