diff options
Diffstat (limited to 'libxsd/xsd/cxx/tree/comparison-map.txx')
-rw-r--r-- | libxsd/xsd/cxx/tree/comparison-map.txx | 4 |
1 files changed, 2 insertions, 2 deletions
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 <typename C> void comparison_map<C>:: - 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; } |