diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-08-23 16:06:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-08-23 16:06:53 +0200 |
commit | f167e58e1bc3959f32da890022cccfa51f2c73ec (patch) | |
tree | 00a6fc9b72ec71db898a38072bec13e07ace8609 /libxsd/xsd/cxx/tree/std-ostream-map.txx | |
parent | 72c8c02e5c841da2ec07a74d0a385c89209937a4 (diff) |
Don't use override as name
It is a keyword in C++-0x.
Diffstat (limited to 'libxsd/xsd/cxx/tree/std-ostream-map.txx')
-rw-r--r-- | libxsd/xsd/cxx/tree/std-ostream-map.txx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libxsd/xsd/cxx/tree/std-ostream-map.txx b/libxsd/xsd/cxx/tree/std-ostream-map.txx index f113b96..874f8d2 100644 --- a/libxsd/xsd/cxx/tree/std-ostream-map.txx +++ b/libxsd/xsd/cxx/tree/std-ostream-map.txx @@ -211,9 +211,9 @@ namespace xsd template <typename C> void std_ostream_map<C>:: - register_type (const type_id& tid, inserter i, bool override) + register_type (const type_id& tid, inserter i, bool replace) { - if (override || type_map_.find (&tid) == type_map_.end ()) + if (replace || type_map_.find (&tid) == type_map_.end ()) type_map_[&tid] = i; } |