Salome HOME
#18963 Change throw() -> noexcept
[modules/yacs.git] / src / py2yacs / py2yacs.hxx
index a6d1e9b80948607992fb96655b8aa38d9d8897c6..039f4443b45675f6c1c4a55e64fb88f04e63d796 100644 (file)
@@ -38,8 +38,8 @@ class PY2YACSLIB_EXPORT Py2yacsException: std::exception
 {
   public:
     Py2yacsException(const std::string& what);
-    virtual ~Py2yacsException()throw ();
-    virtual const char *what() const throw ();
+    virtual ~Py2yacsException() noexcept;
+    virtual const char *what() const noexcept;
   private:
     std::string _what;
 };