Skip to content
Snippets Groups Projects
Commit 3094ed81 authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

BUG: add visibility attribute to specialized function

parent a3cf1313
Branches
Tags
No related merge requests found
......@@ -217,8 +217,10 @@ InputImageParameter::GetImage()
/** declare a specialization for ImageBaseType */
template <>
OTBApplicationEngine_EXPORT
ImageBaseType*
InputImageParameter::GetImage();
InputImageParameter::GetImage<ImageBaseType>();
template <class TInputImage, class TOutputImage>
TOutputImage*
......
......@@ -70,7 +70,7 @@ InputImageParameter::GetImage()
template <>
ImageBaseType*
InputImageParameter::GetImage()
InputImageParameter::GetImage<ImageBaseType>()
{
if (m_Image.IsNull())
return this->GetImage<FloatVectorImageType>();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment