Commit 3094ed81 authored by Antoine Regimbeau's avatar Antoine Regimbeau

BUG: add visibility attribute to specialized function

parent a3cf1313
......@@ -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>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment