From: abn Date: Wed, 6 Nov 2019 14:18:13 +0000 (+0100) Subject: Removing deprecated exception specifications X-Git-Tag: V9_5_0a1~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f7a5c43add627a7df5836e26b452631bc7686d96;p=tools%2Fmedcoupling.git Removing deprecated exception specifications --- diff --git a/src/ParaMEDMEM/DisjointDEC.cxx b/src/ParaMEDMEM/DisjointDEC.cxx index 28b4b1dce..334af2106 100644 --- a/src/ParaMEDMEM/DisjointDEC.cxx +++ b/src/ParaMEDMEM/DisjointDEC.cxx @@ -373,7 +373,7 @@ namespace MEDCoupling return _union_group->containsMyRank(); } - void DisjointDEC::compareFieldAndMethod() const throw(INTERP_KERNEL::Exception) + void DisjointDEC::compareFieldAndMethod() const { if (_local_field) { diff --git a/src/ParaMEDMEM/DisjointDEC.hxx b/src/ParaMEDMEM/DisjointDEC.hxx index 21142017b..5efcffbc7 100644 --- a/src/ParaMEDMEM/DisjointDEC.hxx +++ b/src/ParaMEDMEM/DisjointDEC.hxx @@ -71,7 +71,7 @@ namespace MEDCoupling bool isInTargetSide() const; bool isInUnion() const; protected: - void compareFieldAndMethod() const throw(INTERP_KERNEL::Exception); + void compareFieldAndMethod() const; void cleanInstance(); void copyInstance(const DisjointDEC& other); void checkPartitionGroup() const; diff --git a/src/ParaMEDMEM/ParaGRID.cxx b/src/ParaMEDMEM/ParaGRID.cxx index 51292d180..cd89efe82 100644 --- a/src/ParaMEDMEM/ParaGRID.cxx +++ b/src/ParaMEDMEM/ParaGRID.cxx @@ -31,7 +31,7 @@ using namespace std; namespace MEDCoupling { - ParaGRID::ParaGRID(MEDCouplingCMesh* global_grid, Topology* topology) throw(INTERP_KERNEL::Exception) : + ParaGRID::ParaGRID(MEDCouplingCMesh* global_grid, Topology* topology) : _global_axis(), _my_domain_id(0) { _block_topology = dynamic_cast(topology); diff --git a/src/ParaMEDMEM/ParaGRID.hxx b/src/ParaMEDMEM/ParaGRID.hxx index 3348c07dc..30d587beb 100644 --- a/src/ParaMEDMEM/ParaGRID.hxx +++ b/src/ParaMEDMEM/ParaGRID.hxx @@ -37,7 +37,7 @@ namespace MEDCoupling class ParaGRID { public: - ParaGRID(MEDCouplingCMesh* global_grid, Topology* topology) throw(INTERP_KERNEL::Exception); + ParaGRID(MEDCouplingCMesh* global_grid, Topology* topology); BlockTopology * getBlockTopology() const { return _block_topology; } virtual ~ParaGRID(); MEDCouplingCMesh* getGrid() const { return _grid; }