]> Creatis software - gdcm.git/commitdiff
FIX: CV++
authormalaterre <malaterre>
Thu, 9 Oct 2003 11:27:29 +0000 (11:27 +0000)
committermalaterre <malaterre>
Thu, 9 Oct 2003 11:27:29 +0000 (11:27 +0000)
Testing/TestHash.cxx

index af7ced2357c7191dde2cdcf6053dac0332139cad..3deee03cbd398ca0fd2024745344f803f76497f1 100644 (file)
@@ -15,7 +15,7 @@ int main() {
   tb1["00380010"] = "Admission ID";
 
        std::cout << "Traversal of dictionary (note the proper ordering on key)." << std::endl;
-       for ( dict::iterator im = tb1.begin(); im != tb1.end(); ++im )
+       for ( im = tb1.begin(); im != tb1.end(); ++im )
                std::cout << "   \"" << im->first << "\" = " << im->second << std::endl;
        std::cout << "End of dictionary." << std::endl;