X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestHash.cxx;h=19112e09322610cf2fb86514795d21eb15499408;hb=b0181c594363d2e9a327069abbdb5341540dcd24;hp=af7ced2357c7191dde2cdcf6053dac0332139cad;hpb=f97517fa5d3facd37a2a8e1b35a10ef2286f7770;p=gdcm.git diff --git a/Testing/TestHash.cxx b/Testing/TestHash.cxx index af7ced23..19112e09 100644 --- a/Testing/TestHash.cxx +++ b/Testing/TestHash.cxx @@ -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; }