From: Simon Rit Date: Wed, 24 Oct 2012 07:08:23 +0000 (+0200) Subject: No typename outside template (MSVC sensitive) X-Git-Tag: v1.4.0~281^2~2^2 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=745698bcbad637eb3f500f278a9f1338deeef644;p=clitk.git No typename outside template (MSVC sensitive) --- diff --git a/vv/vvSaveState.cxx b/vv/vvSaveState.cxx index ecf29da..894e8e4 100644 --- a/vv/vvSaveState.cxx +++ b/vv/vvSaveState.cxx @@ -172,7 +172,7 @@ void vvSaveState::SaveLink(const vvSlicerManager* vvManager) std::string my_id = vvManager->GetId(); m_XmlWriter->writeStartElement("LinkedFrom"); m_XmlWriter->writeAttribute("Id", my_id.c_str()); - typename LinkListType::iterator i; + LinkListType::iterator i; for (i = links.begin(); i != links.end(); i++) { std::string link_id = *i; m_XmlWriter->writeTextElement("LinkedTo", link_id.c_str());