From d2b8698a3ab1c9bfe28b8a975db772c2fcccd6a7 Mon Sep 17 00:00:00 2001 From: Jordi Inglada <jordi.inglada@cesbio.cnes.fr> Date: Sun, 2 Oct 2016 10:12:58 +0200 Subject: [PATCH] BUG: remove c++11 initialisation --- .../test/otbNeighborhoodMajorityVotingImageFilterTest.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Fusion/MajorityVoting/test/otbNeighborhoodMajorityVotingImageFilterTest.cxx b/Modules/Fusion/MajorityVoting/test/otbNeighborhoodMajorityVotingImageFilterTest.cxx index 3271d0084c..9a9de6918b 100644 --- a/Modules/Fusion/MajorityVoting/test/otbNeighborhoodMajorityVotingImageFilterTest.cxx +++ b/Modules/Fusion/MajorityVoting/test/otbNeighborhoodMajorityVotingImageFilterTest.cxx @@ -191,7 +191,7 @@ int otbNeighborhoodMajorityVotingImageFilterIsolatedTest(int itkNotUsed(argc), c // Should not be filtered if( result != value) { - std::cout << "2 pixels thres = 1 result = " << int{result} << '\n'; + std::cout << "2 pixels thres = 1 result = " << int(result) << '\n'; return EXIT_FAILURE; } NeighMajVotingFilter->SetIsolatedThreshold(3); -- GitLab