From 6e0e793f2f4563f14ec012802a14f810ac12dcb7 Mon Sep 17 00:00:00 2001 From: jean-pierre roux Date: Tue, 31 May 2011 12:06:38 +0000 Subject: [PATCH] add typename --- bbtk/src/bbcreaImageIOItkImagesChooserDialogBox.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bbtk/src/bbcreaImageIOItkImagesChooserDialogBox.cxx b/bbtk/src/bbcreaImageIOItkImagesChooserDialogBox.cxx index 4986d2c..1f4d1e6 100644 --- a/bbtk/src/bbcreaImageIOItkImagesChooserDialogBox.cxx +++ b/bbtk/src/bbcreaImageIOItkImagesChooserDialogBox.cxx @@ -34,8 +34,8 @@ void ItkImagesChooserDialogBox::Export() else if (dlg->getImagesSelected().size() > 1) { OutputImagesITKType outVect; - std::vector tempImgs= dlg->getTemplatedImagesSelected(); - std::vector::iterator it = tempImgs.begin(); + typename std::vector< typename TImage::Pointer> tempImgs= dlg->getTemplatedImagesSelected(); // JPR typename typename + typename std::vector< typename TImage::Pointer>::iterator it = tempImgs.begin(); // JPR typename typename for(;it != tempImgs.end(); ++it) { outVect.push_back( (*it).GetPointer() ); -- 2.47.1