@@ -64,7 +64,7 @@ class ITKCommon_EXPORT ExceptionObject:public std::exception
6464 ExceptionObject (const ExceptionObject & orig);
6565
6666 /* * Virtual destructor needed for subclasses. Has to have empty throw(). */
67- ~ExceptionObject () ITK_NOEXCEPT override ;
67+ ~ExceptionObject () noexcept override ;
6868
6969 /* * Assignment operator. */
7070 ExceptionObject & operator =(const ExceptionObject & orig);
@@ -103,7 +103,7 @@ class ITKCommon_EXPORT ExceptionObject:public std::exception
103103 virtual unsigned int GetLine () const ;
104104
105105 /* * Provide std::exception::what() implementation. */
106- const char * what () const ITK_NOEXCEPT override ;
106+ const char * what () const noexcept override ;
107107
108108private:
109109 /* * \class ReferenceCounterInterface
@@ -183,7 +183,7 @@ class ITKCommon_EXPORT MemoryAllocationError:public ExceptionObject
183183 const std::string & loc):ExceptionObject(file, lineNumber, desc, loc) {}
184184
185185 /* * Virtual destructor needed for subclasses. Has to have empty throw(). */
186- ~MemoryAllocationError () ITK_NOEXCEPT override ;
186+ ~MemoryAllocationError () noexcept override ;
187187
188188 const char * GetNameOfClass () const override
189189 { return " MemoryAllocationError" ; }
@@ -208,7 +208,7 @@ class ITKCommon_EXPORT RangeError:public ExceptionObject
208208 RangeError (const std::string & file, unsigned int lineNumber):ExceptionObject(file, lineNumber) {}
209209
210210 /* * Virtual destructor needed for subclasses. Has to have empty throw(). */
211- ~RangeError () ITK_NOEXCEPT override ;
211+ ~RangeError () noexcept override ;
212212
213213 const char * GetNameOfClass () const override
214214 { return " RangeError" ; }
@@ -240,7 +240,7 @@ class ITKCommon_EXPORT InvalidArgumentError:public ExceptionObject
240240 InvalidArgumentError (const std::string & file, unsigned int lineNumber):ExceptionObject(file, lineNumber) {}
241241
242242 /* * Virtual destructor needed for subclasses. Has to have empty throw(). */
243- ~InvalidArgumentError () ITK_NOEXCEPT override ;
243+ ~InvalidArgumentError () noexcept override ;
244244
245245 const char * GetNameOfClass () const override
246246 { return " InvalidArgumentError" ; }
@@ -265,7 +265,7 @@ class ITKCommon_EXPORT IncompatibleOperandsError:public ExceptionObject
265265 IncompatibleOperandsError (const std::string & file, unsigned int lineNumber):ExceptionObject(file, lineNumber) {}
266266
267267 /* * Virtual destructor needed for subclasses. Has to have empty throw(). */
268- ~IncompatibleOperandsError () ITK_NOEXCEPT override ;
268+ ~IncompatibleOperandsError () noexcept override ;
269269
270270 const char * GetNameOfClass () const override
271271 { return " IncompatibleOperandsError" ; }
@@ -299,7 +299,7 @@ class ITKCommon_EXPORT ProcessAborted:public ExceptionObject
299299 }
300300
301301 /* * Virtual destructor needed for subclasses. Has to have empty throw(). */
302- ~ProcessAborted () ITK_NOEXCEPT override ;
302+ ~ProcessAborted () noexcept override ;
303303
304304 const char * GetNameOfClass () const override
305305 { return " ProcessAborted" ; }
0 commit comments