From 6148df17d9dc5d905cd6d939370f0a0ef1d2448d Mon Sep 17 00:00:00 2001
From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org>
Date: Mon, 20 Oct 2008 16:53:42 +0800
Subject: [PATCH] ENH: Replacing call to Update() by UpdateOutputInformation()
 to enable streaming

---
 Examples/DisparityMap/SimpleDisparityMapEstimationExample.cxx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Examples/DisparityMap/SimpleDisparityMapEstimationExample.cxx b/Examples/DisparityMap/SimpleDisparityMapEstimationExample.cxx
index f639d493d0..e153f5398b 100644
--- a/Examples/DisparityMap/SimpleDisparityMapEstimationExample.cxx
+++ b/Examples/DisparityMap/SimpleDisparityMapEstimationExample.cxx
@@ -224,8 +224,8 @@ int main (int argc, char* argv[])
   
   fixedReader->SetFileName(argv[1]);
   movingReader->SetFileName(argv[2]);
-  fixedReader->Update();
-  movingReader->Update();
+  fixedReader->UpdateOutputInformation();
+  movingReader->UpdateOutputInformation();
 
   // Software Guide : EndCodeSnippet
 
-- 
GitLab