From dd76ae17e1e65d37fc40b2f42e5f2f75fa42adad Mon Sep 17 00:00:00 2001 From: Guillaume Pasero <guillaume.pasero@c-s.fr> Date: Wed, 1 Apr 2015 15:56:29 +0200 Subject: [PATCH] COMP: MSVC: internal compiler error on msvc 2010 32bit --- Modules/Adapters/GdalAdapters/include/otbOGRLayerWrapper.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Modules/Adapters/GdalAdapters/include/otbOGRLayerWrapper.h b/Modules/Adapters/GdalAdapters/include/otbOGRLayerWrapper.h index 60a84b3624..007229fc9a 100644 --- a/Modules/Adapters/GdalAdapters/include/otbOGRLayerWrapper.h +++ b/Modules/Adapters/GdalAdapters/include/otbOGRLayerWrapper.h @@ -328,9 +328,7 @@ public: : m_Layer(&layer), m_Crt(layer.GetNextFeature()) {} template <class OtherValue> feature_iter( feature_iter<OtherValue> const& other, - typename boost::enable_if<boost::is_convertible<OtherValue*,Value*> - , enabler - >::type = enabler() + typename boost::enable_if<boost::is_convertible<OtherValue*,Value*> >::type* = 0 ) : m_Layer(other.m_Layer), m_Crt(other.m_Crt) {} -- GitLab