From fb178e69a1a632a11779ca17a44d2f31b9fd9661 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leonardo=20Fl=C3=B3rez-Valencia?= Date: Thu, 31 Aug 2017 11:12:28 -0500 Subject: [PATCH] ... --- lib/fpa/Filters/Image/RandomWalker.h | 2 +- lib/fpa/Filters/Image/RandomWalker.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fpa/Filters/Image/RandomWalker.h b/lib/fpa/Filters/Image/RandomWalker.h index 32b84ac..198112f 100644 --- a/lib/fpa/Filters/Image/RandomWalker.h +++ b/lib/fpa/Filters/Image/RandomWalker.h @@ -44,7 +44,7 @@ namespace fpa public: TInputImage* GetInputImage( ); const TInputImage* GetInputImage( ) const; - void SetInputImage( TInputImage* i ); + void SetInputImage( const TInputImage* i ); TCostsImage* GetOutputCosts( ); const TCostsImage* GetOutputCosts( ) const; diff --git a/lib/fpa/Filters/Image/RandomWalker.hxx b/lib/fpa/Filters/Image/RandomWalker.hxx index 0756229..664e7d7 100644 --- a/lib/fpa/Filters/Image/RandomWalker.hxx +++ b/lib/fpa/Filters/Image/RandomWalker.hxx @@ -31,7 +31,7 @@ GetInputImage( ) const template< class _TInputImage, class _TLabelImage, class _TCost, class _TTraits > void fpa::Filters::Image::RandomWalker< _TInputImage, _TLabelImage, _TCost, _TTraits >:: -SetInputImage( TInputImage* i ) +SetInputImage( const TInputImage* i ) { this->SetInput( i ); } -- 2.47.1