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/comparison-map.txx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libxsd/xsd/cxx/tree/comparison-map.txx') diff --git a/libxsd/xsd/cxx/tree/comparison-map.txx b/libxsd/xsd/cxx/tree/comparison-map.txx index 7da4a1e..6793ad0 100644 --- a/libxsd/xsd/cxx/tree/comparison-map.txx +++ b/libxsd/xsd/cxx/tree/comparison-map.txx @@ -212,9 +212,9 @@ namespace xsd template void comparison_map:: - register_type (const type_id& tid, comparator c, bool override) + register_type (const type_id& tid, comparator c, bool replace) { - if (override || type_map_.find (&tid) == type_map_.end ()) + if (replace || type_map_.find (&tid) == type_map_.end ()) type_map_[&tid] = c; } -- cgit v1.1