From 6b4d348c953f0668a384c6818e30c0941aa85dee Mon Sep 17 00:00:00 2001 From: Julien Michel <julien.michel@cnes.fr> Date: Thu, 19 Jul 2018 23:21:39 +0200 Subject: [PATCH] COMP: Fix compilation errors spotted by extern templates instanciation --- Modules/Core/ObjectList/include/otbObjectList.h | 1 - Modules/Core/ObjectList/include/otbObjectList.hxx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Modules/Core/ObjectList/include/otbObjectList.h b/Modules/Core/ObjectList/include/otbObjectList.h index 762cbfdab5..7226fd9044 100644 --- a/Modules/Core/ObjectList/include/otbObjectList.h +++ b/Modules/Core/ObjectList/include/otbObjectList.h @@ -180,7 +180,6 @@ public: void Set(ObjectPointerType element) { (*m_Iter) = element; - this->Modified(); } /** * Increment. diff --git a/Modules/Core/ObjectList/include/otbObjectList.hxx b/Modules/Core/ObjectList/include/otbObjectList.hxx index 5d871caf64..e16f824ff5 100644 --- a/Modules/Core/ObjectList/include/otbObjectList.hxx +++ b/Modules/Core/ObjectList/include/otbObjectList.hxx @@ -247,7 +247,7 @@ ObjectList<TObject> ::Insert(ReverseIterator position, ObjectPointerType element) { ReverseIterator iter( - InternalContainerType::reverse_iterator( + (typename InternalContainerType::reverse_iterator)( m_InternalContainer.insert(position.GetIter().base(), element) ) ); -- GitLab