]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
fight warnings c++17 error throw(). Build NETGENPLUGIN finished
authorSALOME <salome@opencascade.com>
Fri, 21 Aug 2020 10:42:17 +0000 (13:42 +0300)
committerSALOME <salome@opencascade.com>
Fri, 21 Aug 2020 10:42:17 +0000 (13:42 +0300)
src/NETGENPlugin/NETGENPlugin_Hypothesis_i.cxx
src/NETGENPlugin/NETGENPlugin_Hypothesis_i.hxx
src/NETGENPlugin/NETGENPlugin_SimpleHypothesis_2D.cxx
src/NETGENPlugin/NETGENPlugin_SimpleHypothesis_2D.hxx
src/NETGENPlugin/NETGENPlugin_SimpleHypothesis_2D_i.cxx
src/NETGENPlugin/NETGENPlugin_SimpleHypothesis_2D_i.hxx

index e10cf8b4481b145f92dd8f8e01ea3b047d6d39b1..367cb6deb61aa3711befcb17f86996a78578ba8a 100644 (file)
@@ -337,7 +337,6 @@ CORBA::Double NETGENPlugin_Hypothesis_i::GetChordalError()
 
 void NETGENPlugin_Hypothesis_i::SetLocalSizeOnShape(GEOM::GEOM_Object_ptr GeomObj,
                                                     CORBA::Double         localSize)
-  throw (SALOME::SALOME_Exception)
 {
   string entry;
   entry = GeomObj->GetStudyEntry();
index d1f54b6b03e1ff598e08c27aa1b7cc30a8f16f13..e38b80908d62fab71a247cc7083c9d0133102f83 100644 (file)
@@ -83,8 +83,7 @@ class NETGENPLUGIN_EXPORT NETGENPlugin_Hypothesis_i:
   void SetChordalError(CORBA::Double value);
   CORBA::Double GetChordalError();
 
-  void SetLocalSizeOnShape(GEOM::GEOM_Object_ptr GeomObj, CORBA::Double localSize)
-    throw (SALOME::SALOME_Exception);
+  void SetLocalSizeOnShape(GEOM::GEOM_Object_ptr GeomObj, CORBA::Double localSize);
   void SetLocalSizeOnEntry(const char* entry, CORBA::Double localSize);
   CORBA::Double GetLocalSizeOnEntry(const char* entry);
   NETGENPlugin::string_array* GetLocalSizeEntries();
index c7b192c6d05c5679816557f911dc1ca6a30b86a5..a457183d2b00b7afb5d665e7289d2a4c9d57ba5f 100644 (file)
@@ -59,7 +59,7 @@ NETGENPlugin_SimpleHypothesis_2D::NETGENPlugin_SimpleHypothesis_2D (int
  *  
  */
 //=============================================================================
-void NETGENPlugin_SimpleHypothesis_2D::SetNumberOfSegments(int nb) throw (SALOME_Exception)
+void NETGENPlugin_SimpleHypothesis_2D::SetNumberOfSegments(int nb)
 {
   if ( nb < 1 )
     throw SALOME_Exception("Number of segments must be positive");
@@ -77,7 +77,6 @@ void NETGENPlugin_SimpleHypothesis_2D::SetNumberOfSegments(int nb) throw (SALOME
  */
 //=============================================================================
 void NETGENPlugin_SimpleHypothesis_2D::SetLocalLength(double segmentLength)
-  throw (SALOME_Exception)
 {
   if ( segmentLength < DBL_MIN )
     throw SALOME_Exception("segment length must be more than zero");
index 3ad17442abb6a6050e314c8c677255d9b2e6af7d..c5f075d0bd38c63fd6c50a33033264a4304527a8 100644 (file)
@@ -43,7 +43,7 @@ public:
   /*!
    * Sets <number of segments> value
    */
-  void SetNumberOfSegments(int nb) throw (SALOME_Exception);
+  void SetNumberOfSegments(int nb);
   /*!
    * Returns <number of segments> value.
    * Can be zero in case if LocalLength() has been set
@@ -53,7 +53,7 @@ public:
   /*!
    * Sets <segment length> value
    */
-  void SetLocalLength(double segmentLength) throw (SALOME_Exception);
+  void SetLocalLength(double segmentLength);
   /*!
    * Returns <segment length> value.
    * Can be zero in case if NumberOfSegments() has been set
index 68b087b2b6cd34cca044d8005788c85144e5fb68..aa57fbf7e5ab3f5906663704d38729dad5540401 100644 (file)
@@ -72,7 +72,6 @@ NETGENPlugin_SimpleHypothesis_2D_i::~NETGENPlugin_SimpleHypothesis_2D_i()
  */
 //=============================================================================
 void NETGENPlugin_SimpleHypothesis_2D_i::SetNumberOfSegments(CORBA::Short nb)
-  throw ( SALOME::SALOME_Exception )
 {
   ASSERT(myBaseImpl);
   try {
index 24e9ef981fb7829cca7ff50c346db87ee374c3f9..148169c2f5695a93fc0bdc960a6c32ce6a82e6d9 100644 (file)
@@ -49,7 +49,7 @@ class NETGENPLUGIN_EXPORT  NETGENPlugin_SimpleHypothesis_2D_i:
   // Destructor
   virtual ~NETGENPlugin_SimpleHypothesis_2D_i();
 
-  void SetNumberOfSegments(CORBA::Short nb) throw ( SALOME::SALOME_Exception );
+  void SetNumberOfSegments(CORBA::Short nb) ;
   CORBA::Short GetNumberOfSegments();
 
   void SetLocalLength(CORBA::Double segmentLength);