Skip to content
Snippets Groups Projects
Commit 4a0cac5b authored by Julien Michel's avatar Julien Michel
Browse files

COMP: Fixing a deprecation warning on visual 8.0

parent e089bacb
Branches
Tags
No related merge requests found
......@@ -19,7 +19,16 @@ PURPOSE. See the above copyright notices for more information.
#define __otbBSplinesInterpolateDeformationFieldGenerator_txx
#include "otbBSplinesInterpolateDeformationFieldGenerator.h"
// Disabling deprecation warning if on visual
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable:4996)
#endif
#include "itkDeformationFieldSource.h"
// Enabling remaining deprecation warning
#ifdef _MSC_VER
#pragma warning(pop)
#endif
#include "otbMacro.h"
#include "otbImage.h"
#include "itkImageRegionIterator.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment