]> Creatis software - clitk.git/commitdiff
No typename outside template (MSVC sensitive)
authorSimon Rit <simon.rit@creatis.insa-lyon.fr>
Wed, 24 Oct 2012 07:08:23 +0000 (09:08 +0200)
committerSimon Rit <simon.rit@creatis.insa-lyon.fr>
Wed, 24 Oct 2012 07:08:23 +0000 (09:08 +0200)
vv/vvSaveState.cxx

index ecf29da4b5939ff784f4b73eaa84a529ea7e8e61..894e8e4a3aefb67968e9452a67dcf3c707d8d2bd 100644 (file)
@@ -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());