aboutsummaryrefslogtreecommitdiff
path: root/xsd/cxx/elements.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-04-15 14:30:56 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-04-15 14:30:56 +0200
commit9e21f520fb19163eeac2a9b80a4568dabfc29268 (patch)
tree50e27bcaaf0807bd29a845485732159aa684971f /xsd/cxx/elements.cxx
parentea95e3637288a1369ac96011d0cec9feeead05f2 (diff)
Adjust to changed predicate names
Diffstat (limited to 'xsd/cxx/elements.cxx')
-rw-r--r--xsd/cxx/elements.cxx4
1 files changed, 2 insertions, 2 deletions
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<Schema&> (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 ());