Skip to content

Commit

Permalink
COMP: fix linkage for MINCTransformIO
Browse files Browse the repository at this point in the history
Address issue with MSVC when shared libraries enable. The following
warning is emitted:

itkMINCTransformIO.h(137,88): warning C4910: 'itk::MINCTransformIOTemplate<float>': '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation
  • Loading branch information
blowekamp committed Feb 13, 2023
1 parent 734dd4c commit 97f003c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/IO/TransformMINC/include/itkMINCTransformIO.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ namespace itk
* \ingroup ITKIOTransformMINC
*/
template <typename TParametersValueType>
class ITKIOTransformMINC_EXPORT MINCTransformIOTemplate : public TransformIOBaseTemplate<TParametersValueType>
class ITK_TEMPLATE_EXPORT MINCTransformIOTemplate : public TransformIOBaseTemplate<TParametersValueType>
{
public:
using Self = MINCTransformIOTemplate;
Expand Down

0 comments on commit 97f003c

Please sign in to comment.