From c2f500b0b024100794ffdde6ab46006931b261c1 Mon Sep 17 00:00:00 2001 From: schodet Date: Tue, 5 Apr 2005 22:35:04 +0000 Subject: Youpi, vive list_output_ostream.hh. --- 2005/i/robert/src/config/test_config_data.cc | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to '2005/i/robert/src/config') diff --git a/2005/i/robert/src/config/test_config_data.cc b/2005/i/robert/src/config/test_config_data.cc index 49fc425..d214d4f 100644 --- a/2005/i/robert/src/config/test_config_data.cc +++ b/2005/i/robert/src/config/test_config_data.cc @@ -35,20 +35,7 @@ main (int argc, char **argv) { ConfigData cd (argc, argv); for (int i = 1; i < argc; ++i) - { - const any &a = cd.get (argv[i]); - if (a.type () == typeid (Config::IntList)) - { - const Config::IntList &il = any_cast (a); - std::copy (il.begin (), il.end (), - std::ostream_iterator (std::cout, " ")); - std::cout << std::endl; - } - else - { - std::cout << cd.get (argv[i]) << std::endl; - } - } + std::cout << cd.get (argv[i]) << std::endl; } catch (const std::exception &e) { -- cgit v1.2.3