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() ...@@ -217,8 +217,10 @@ InputImageParameter::GetImage()
/** declare a specialization for ImageBaseType */ /** declare a specialization for ImageBaseType */
template <> template <>
OTBApplicationEngine_EXPORT
ImageBaseType* ImageBaseType*
InputImageParameter::GetImage(); InputImageParameter::GetImage<ImageBaseType>();
template <class TInputImage, class TOutputImage> template <class TInputImage, class TOutputImage>
TOutputImage* TOutputImage*
......
...@@ -70,7 +70,7 @@ InputImageParameter::GetImage() ...@@ -70,7 +70,7 @@ InputImageParameter::GetImage()
template <> template <>
ImageBaseType* ImageBaseType*
InputImageParameter::GetImage() InputImageParameter::GetImage<ImageBaseType>()
{ {
if (m_Image.IsNull()) if (m_Image.IsNull())
return this->GetImage<FloatVectorImageType>(); 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