aboutsummaryrefslogtreecommitdiff
path: root/xsd-frontend/transformations/restriction.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xsd-frontend/transformations/restriction.cxx')
-rw-r--r--xsd-frontend/transformations/restriction.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xsd-frontend/transformations/restriction.cxx b/xsd-frontend/transformations/restriction.cxx
index 2fc3c7a..a7f224b 100644
--- a/xsd-frontend/transformations/restriction.cxx
+++ b/xsd-frontend/transformations/restriction.cxx
@@ -356,7 +356,7 @@ namespace XSDFrontend
// Transfer annotation.
//
- if (prot->annotated ())
+ if (prot->annotated_p ())
schema_.new_edge<Annotates> (prot->annotation (), *a);
}