]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/XAO/XAO_Exception.hxx
Salome HOME
bos #20493 Sync XAO with GEOM module
[modules/shaper.git] / src / XAO / XAO_Exception.hxx
index 3c99bb7a5f6b84bc26ec552d13fddbe8d9ae144d..03a268f6349b7cf96487b6df95fb6424a1f4e56d 100644 (file)
 #include "XAO.hxx"
 #include <exception>
 
-#ifdef WIN32
-#pragma warning(disable : 4275) // for std::exception
-#endif
-
 namespace XAO
 {
     /**
@@ -45,13 +41,13 @@ namespace XAO
         {
         }
 
-        virtual ~XAO_Exception() throw() {};
+        virtual ~XAO_Exception() noexcept {};
 
         /**
          * Returns the error message.
          * @return the error message.
          */
-        virtual const char* what() const throw ()
+        virtual const char* what() const noexcept
         {
             return m_message;
         }