aboutsummaryrefslogtreecommitdiff
path: root/libxsd/xsd/cxx/tree/stream-insertion-map.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-08-23 16:06:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-08-23 16:06:53 +0200
commitf167e58e1bc3959f32da890022cccfa51f2c73ec (patch)
tree00a6fc9b72ec71db898a38072bec13e07ace8609 /libxsd/xsd/cxx/tree/stream-insertion-map.txx
parent72c8c02e5c841da2ec07a74d0a385c89209937a4 (diff)
Don't use override as name
It is a keyword in C++-0x.
Diffstat (limited to 'libxsd/xsd/cxx/tree/stream-insertion-map.txx')
-rw-r--r--libxsd/xsd/cxx/tree/stream-insertion-map.txx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libxsd/xsd/cxx/tree/stream-insertion-map.txx b/libxsd/xsd/cxx/tree/stream-insertion-map.txx
index 5150dbd..64f36ea 100644
--- a/libxsd/xsd/cxx/tree/stream-insertion-map.txx
+++ b/libxsd/xsd/cxx/tree/stream-insertion-map.txx
@@ -248,9 +248,9 @@ namespace xsd
register_type (const type_id& tid,
const qualified_name& name,
inserter i,
- bool override)
+ bool replace)
{
- if (override || type_map_.find (&tid) == type_map_.end ())
+ if (replace || type_map_.find (&tid) == type_map_.end ())
type_map_[&tid] = type_info (name, i);
}