summaryrefslogtreecommitdiff
path: root/xsd/cxx/elements.cxx
diff options
context:
space:
mode:
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 ());