diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-28 14:29:45 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-28 14:29:45 +0200 |
commit | ca4c01c87aedc82366ff0d253f5f8eb8d9d00954 (patch) | |
tree | ef52673f3b06d37c8d2ab5293c007193ecdb73b8 /examples/features | |
parent | 7f089045bce33cf309f807d1cee97a8beb7bb859 (diff) |
Use assignment initialization for fundamental types
Diffstat (limited to 'examples/features')
-rw-r--r-- | examples/features/driver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::string, std::string> 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 ()) |