]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
#18963 Additional changes: throw() -> noexcept
authorvsr <vsr@opencascade.com>
Wed, 16 Dec 2020 17:49:52 +0000 (20:49 +0300)
committervsr <vsr@opencascade.com>
Wed, 16 Dec 2020 17:49:52 +0000 (20:49 +0300)
tools/CurvePlot/src/cpp/CurvePlot_Exception.hxx

index b7ce26f67a77e675ca5f1e34c4319df1ddabd5ac..252ddd4c112c5a67c054c2e446ceafc3162b4b1d 100644 (file)
@@ -28,9 +28,9 @@ namespace CURVEPLOT
   {
   public:
     Exception(const std::string & what) : _what(what) {}
-    const char* what() const throw() { return _what.c_str(); }
+    const char* what() const noexcept { return _what.c_str(); }
 
-    ~Exception() throw () {}
+    ~Exception() noexcept {}
   private:
     const std::string _what;
   };