diff --git a/Modules/Core/Functor/include/otbVariadicInputsImageFilter.h b/Modules/Core/Functor/include/otbVariadicInputsImageFilter.h
index a58951d17029c89bd8af026b8bffc9108bbb4b9f..0011f8d04fb94d9989ac01b1d3ef33851a1d8cb5 100644
--- a/Modules/Core/Functor/include/otbVariadicInputsImageFilter.h
+++ b/Modules/Core/Functor/include/otbVariadicInputsImageFilter.h
@@ -47,7 +47,7 @@ public:
   template<typename Tuple = InputTypesTupleType, typename Check = typename std::enable_if<n<=std::tuple_size<Tuple>::value >::type> \
   void SetInput ## n(const typename std::tuple_element<n-1,Tuple>::type * img)                                           \
   {                                                                                                                \
-    this->template SetVInput<n-1>(img); // template keyword to avoid C++ parsing ambiguity                          \
+    this->template SetVInput<n-1>(img);                                                                             \
   }
 
   // The following defines legacy setters SetInput1()