Salome HOME
Updated copyright comment
[modules/gui.git] / tools / CurvePlot / src / cpp / CurvePlot_Exception.hxx
index 6a41886a7f23013919c31075f9f0086b579eca2a..e7bbe6be6201c8bf2a2e41bc005e9b7dcf1d3758 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2010-2024  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -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;
   };