]> Creatis software - gdcm.git/blobdiff - Testing/TestHash.cxx
doxygenation
[gdcm.git] / Testing / TestHash.cxx
index af7ced2357c7191dde2cdcf6053dac0332139cad..19112e09322610cf2fb86514795d21eb15499408 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;
 
@@ -33,4 +33,6 @@ int main() {
        //http://www.developer.com/net/cplus/article.php/10919_2119781_3
        //
        // domage que ca ne marche pas ...
+
+  return 0;
 }