summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-10-28 14:29:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-10-28 14:29:45 +0200
commitca4c01c87aedc82366ff0d253f5f8eb8d9d00954 (patch)
treeef52673f3b06d37c8d2ab5293c007193ecdb73b8 /examples
parent7f089045bce33cf309f807d1cee97a8beb7bb859 (diff)
Use assignment initialization for fundamental types
Diffstat (limited to 'examples')
-rw-r--r--examples/features/driver.cxx2
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 ())