From 80777ecabb3a2d876d296a3f09334e197dd42a38 Mon Sep 17 00:00:00 2001
From: Julien Malik <julien.malik@c-s.fr>
Date: Sun, 8 May 2011 09:30:23 +0200
Subject: [PATCH] COMP: fix Monteverdi compil

---
 Code/Visualization/otbDragFullWindowActionHandler.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Code/Visualization/otbDragFullWindowActionHandler.h b/Code/Visualization/otbDragFullWindowActionHandler.h
index 269f9daa39..d57035220e 100644
--- a/Code/Visualization/otbDragFullWindowActionHandler.h
+++ b/Code/Visualization/otbDragFullWindowActionHandler.h
@@ -90,7 +90,7 @@ public:
 
           // Compute the origin and the size of the visible region
           IndexType indexBegin, indexEnd;
-          typedef IndexType::IndexValueType IndexValueType;
+          typedef typename IndexType::IndexValueType IndexValueType;
           indexBegin[0] = static_cast<IndexValueType> (m_Model->GetExtractRegion().GetIndex()[0] + m_MoveX);
           indexBegin[1] = static_cast<IndexValueType> (m_Model->GetExtractRegion().GetIndex()[1] + m_MoveY);
           indexEnd[0] = indexBegin[0] + m_Model->GetExtractRegion().GetSize()[0];
-- 
GitLab