From 9e21f520fb19163eeac2a9b80a4568dabfc29268 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 15 Apr 2010 14:30:56 +0200 Subject: Adjust to changed predicate names --- xsd/cxx/elements.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xsd/cxx/elements.cxx') diff --git a/xsd/cxx/elements.cxx b/xsd/cxx/elements.cxx index a5db168..4d28311 100644 --- a/xsd/cxx/elements.cxx +++ b/xsd/cxx/elements.cxx @@ -298,7 +298,7 @@ namespace CXX SemanticGraph::Path path; Schema& schema (dynamic_cast (ns.scope ())); - if (schema.used ()) + if (schema.used_p ()) { // Here we need to detect a special multi-schema compilation // case where the root schemas are imported into a special @@ -466,7 +466,7 @@ namespace CXX // is where the type was defined. // - if (n.named ()) + if (n.named_p ()) { SemanticGraph::Scope& s (n.scope ()); -- cgit v1.1