From f167e58e1bc3959f32da890022cccfa51f2c73ec Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 23 Aug 2011 16:06:53 +0200 Subject: Don't use override as name It is a keyword in C++-0x. --- libxsd/xsd/cxx/tree/stream-insertion-map.txx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libxsd/xsd/cxx/tree/stream-insertion-map.txx') 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); } -- cgit v1.1