From 76ba84ee16075430d100ed7c3a1a769930c7366d Mon Sep 17 00:00:00 2001
From: Otmane Lahlou <otmane.lahlou@c-s.fr>
Date: Thu, 15 Oct 2009 16:01:27 +0200
Subject: [PATCH] COMP: fixing compilation errors

---
 Code/Projections/otbGenericRSTransform.txx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Code/Projections/otbGenericRSTransform.txx b/Code/Projections/otbGenericRSTransform.txx
index 212ffc6c12..9104198005 100644
--- a/Code/Projections/otbGenericRSTransform.txx
+++ b/Code/Projections/otbGenericRSTransform.txx
@@ -294,7 +294,7 @@ GenericRSTransform<TScalarType, NInputDimensions, NOutputDimensions>
 
   // Switch keywordlists
   inverseTransform->SetInputKeywordList(m_OutputKeywordList);
-  inverseTransform->SetInputKeywordList(m_InputKeywordList);
+  inverseTransform->SetOutputKeywordList(m_InputKeywordList);
 
   // Switch dictionnaries
   inverseTransform->SetInputDictionary(m_OutputDictionary);
@@ -324,7 +324,7 @@ typename GenericRSTransform<TScalarType, NInputDimensions, NOutputDimensions>
 GenericRSTransform<TScalarType, NInputDimensions, NOutputDimensions>
 ::GetInverseTransform() const
 {
-  typename  Self::Pointer inverseTransform = Self::New();
+  Self * inverseTransform = Self::New();
 
   bool success = this->GetInverse(inverseTransform);
 
-- 
GitLab