Skip to content
Snippets Groups Projects
Commit 83083ecf authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

COMP: missing this

parent 6550f199
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ class ITK_EXPORT PersistentCompareImageFilter :
{
public:
/** Standard Self typedef */
typedef PersistentCompareImageFilter Self;
typedef PersistentCompareImageFilter Self;
typedef PersistentImageFilter<TInputImage, TInputImage> Superclass;
typedef itk::SmartPointer<Self> Pointer;
typedef itk::SmartPointer<const Self> ConstPointer;
......
......@@ -62,7 +62,7 @@ PersistentCompareImageFilter<TInputImage>
::SetInput1(const TInputImage *image)
{
// The ProcessObject is not const-correct so the const_cast is required here
SetNthInput(0, const_cast<TInputImage *>(image));
this->SetNthInput(0, const_cast<TInputImage *>(image));
}
/**
......@@ -74,7 +74,7 @@ PersistentCompareImageFilter<TInputImage>
::SetInput2(const TInputImage *image)
{
// The ProcessObject is not const-correct so the const_cast is required here
SetNthInput(1, const_cast<TInputImage *>(image));
this->SetNthInput(1, const_cast<TInputImage *>(image));
}
template<class TInputImage>
......
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