aboutsummaryrefslogtreecommitdiff
path: root/xsd-frontend/semantic-graph/any.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xsd-frontend/semantic-graph/any.cxx')
-rw-r--r--xsd-frontend/semantic-graph/any.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xsd-frontend/semantic-graph/any.cxx b/xsd-frontend/semantic-graph/any.cxx
index dd433fd..a6c9e72 100644
--- a/xsd-frontend/semantic-graph/any.cxx
+++ b/xsd-frontend/semantic-graph/any.cxx
@@ -86,7 +86,7 @@ namespace XSDFrontend
// is where the type was defined.
//
- if (n.named ())
+ if (n.named_p ())
{
Scope& s (n.scope ());
Namespace* ns (dynamic_cast<Namespace*> (&n));