Skip to content

Commit 322e933

Browse files
authored
Merge pull request #69 from aylward/ThrowDecorationDeprecated
COMP: C++11 has deprecated the "throw" function declaration decorator
2 parents c00dbb8 + 02b7c13 commit 322e933

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/itkSingleImageCostFunction.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class ITK_EXPORT SingleImageCostFunction :
115115
itkGetConstReferenceMacro( DerivativeThreshold, DerivativeType::ValueType );
116116

117117
/** Initialize the cost function */
118-
virtual void Initialize(void) throw ( ExceptionObject );
118+
virtual void Initialize(void);
119119

120120
/** Return the number of parameters required by the Transform */
121121
unsigned int GetNumberOfParameters(void) const override

include/itkSingleImageCostFunction.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ SingleImageCostFunction<TImage>
4343
template <class TImage>
4444
void
4545
SingleImageCostFunction<TImage>
46-
::Initialize(void) throw ( ExceptionObject )
46+
::Initialize(void)
4747
{
4848
// Ensure image is provided
4949
if( !m_Image )

0 commit comments

Comments
 (0)