From 676cf6420dbc11c15322ca528386a8032b9872a0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 1 Jun 2012 17:03:45 +0200 Subject: Fix incorrect handling of IDREF templates when used as bases --- xsd/processing/inheritance/processor.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xsd/processing/inheritance') diff --git a/xsd/processing/inheritance/processor.cxx b/xsd/processing/inheritance/processor.cxx index 6bf307e..7d103db 100644 --- a/xsd/processing/inheritance/processor.cxx +++ b/xsd/processing/inheritance/processor.cxx @@ -242,11 +242,11 @@ namespace Processing Dep const& dep (*i); Type& t (dep.type); - // Ignore ID/IDREF templates. + // Ignore IDREF templates. // if (!t.named_p () && - (t.is_a () || - t.is_a ())) + (t.is_a () || + t.is_a ())) continue; // We won't be able to generate compilable code in case of a -- cgit v1.1