From b85c0e62c68dd0dcb315cc1a3ca1701458fa2e45 Mon Sep 17 00:00:00 2001
From: Julien Malik <julien.malik@c-s.fr>
Date: Thu, 17 Mar 2011 15:56:38 +0100
Subject: [PATCH] ENH: add default value for the second template parameter

---
 Code/BasicFilters/otbStreamingShrinkImageFilter.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Code/BasicFilters/otbStreamingShrinkImageFilter.h b/Code/BasicFilters/otbStreamingShrinkImageFilter.h
index f1aac3d0cc..c077557e02 100644
--- a/Code/BasicFilters/otbStreamingShrinkImageFilter.h
+++ b/Code/BasicFilters/otbStreamingShrinkImageFilter.h
@@ -39,7 +39,7 @@ namespace otb
  * \ingroup Multithreaded
  *
  */
-template<class TInputImage, class TOutputImage>
+template<class TInputImage, class TOutputImage = TInputImage>
 class ITK_EXPORT PersistentShrinkImageFilter :
   public PersistentImageFilter<TInputImage, TOutputImage>
 {
@@ -134,7 +134,7 @@ private:
  * \ingroup Multithreaded
  *
  */
-template<class TInputImage, class TOutputImage>
+template<class TInputImage, class TOutputImage = TInputImage>
 class ITK_EXPORT StreamingShrinkImageFilter :
   public PersistentFilterStreamingDecorator< PersistentShrinkImageFilter<TInputImage, TOutputImage> >
 {
-- 
GitLab