Skip to content
Snippets Groups Projects
Commit f579feda authored by Julien Malik's avatar Julien Malik
Browse files

WRG: use itkLegacyMacro properly

parent 6fec53e1
No related branches found
No related tags found
No related merge requests found
...@@ -105,7 +105,7 @@ public: ...@@ -105,7 +105,7 @@ public:
/** Set the number of classes. This method is deprecated and is /** Set the number of classes. This method is deprecated and is
* maintained for backward compatibility only */ * maintained for backward compatibility only */
itkLegacyMacro(void SetNumberOfClasses(unsigned int /*nbClasses*/){}) itkLegacyMacro( void SetNumberOfClasses(unsigned int itkNotUsed(nbClasses) ) {}
/** Get the number of classes */ /** Get the number of classes */
unsigned int GetNumberOfClasses() unsigned int GetNumberOfClasses()
......
...@@ -93,7 +93,10 @@ public: ...@@ -93,7 +93,10 @@ public:
* Set the output size. This method is deprecated and is * Set the output size. This method is deprecated and is
* maintained for backward compatibility only * maintained for backward compatibility only
*/ */
itkLegacyMacro(void SetSize(const SizeType& size){this->SetOutputSize(size); }); itkLegacyMacro( void SetSize(const SizeType& size) )
{
this->SetOutputSize(size);
}
protected: protected:
OrthoRectificationFilter(); OrthoRectificationFilter();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment