From ca4c01c87aedc82366ff0d253f5f8eb8d9d00954 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 28 Oct 2009 14:29:45 +0200 Subject: Use assignment initialization for fundamental types --- examples/features/driver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/features/driver.cxx b/examples/features/driver.cxx index 339f4c1..3dec252 100644 --- a/examples/features/driver.cxx +++ b/examples/features/driver.cxx @@ -47,7 +47,7 @@ main (int argc, char* argv[]) // --map | -m // typedef map str_map; - const str_map& m (o.map ()); + const str_map& m = o.map (); str_map::const_iterator i (m.find ("a")); if (i != m.end ()) -- cgit v1.1