diff --git a/include/rtkIterationCommands.h b/include/rtkIterationCommands.h index f9fc5ce58..c59fc4f3b 100644 --- a/include/rtkIterationCommands.h +++ b/include/rtkIterationCommands.h @@ -54,9 +54,10 @@ class IterationCommand : public itk::Command typedef itk::Command Superclass; typedef itk::SmartPointer Pointer; - itkSetMacro(TriggerEvery, unsigned int) + itkSetMacro(TriggerEvery, unsigned int); - void Execute(itk::Object * caller, const itk::EventObject & event) override + void + Execute(itk::Object * caller, const itk::EventObject & event) override { Execute((const itk::Object *)caller, event); } @@ -128,13 +129,11 @@ class OutputIterationCommand : public IterationCommand typedef itk::SmartPointer Pointer; itkNewMacro(Self); - itkSetMacro(FileFormat, std::string) - - protected - : + itkSetMacro(FileFormat, std::string); - /** Output file name, where %d is the current iteration number */ - std::string m_FileFormat; +protected: + /** Output file name, where %d is the current iteration number */ + std::string m_FileFormat; void Run(const TCaller * caller) override