summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/docs
diff options
context:
space:
mode:
authorFred Hornsey <hornseyf@objectcomputing.com>2019-01-31 16:44:12 -0600
committerFred Hornsey <hornseyf@objectcomputing.com>2019-01-31 16:44:12 -0600
commitc71dc63961a23c20a47cac0e1334d8775587f12b (patch)
treeb5bbd647d936140f189b98c7a12c861566b420ae /TAO/TAO_IDL/docs
parentd5fdc518fa8ee1bd9c86891b42ce0ad7b32259ff (diff)
downloadATCD-c71dc63961a23c20a47cac0e1334d8775587f12b.tar.gz
annotations.md: Small Change to Annotations API
Diffstat (limited to 'TAO/TAO_IDL/docs')
-rw-r--r--TAO/TAO_IDL/docs/annotations.md6
1 files changed, 1 insertions, 5 deletions
diff --git a/TAO/TAO_IDL/docs/annotations.md b/TAO/TAO_IDL/docs/annotations.md
index 29975088b96..65cdcad0cd6 100644
--- a/TAO/TAO_IDL/docs/annotations.md
+++ b/TAO/TAO_IDL/docs/annotations.md
@@ -5,8 +5,6 @@ compiler that uses `tao_idl`.**
**Table of Contents:**
-<!-- vim-markdown-toc GFM -->
-
* [IDL Annotations](#idl-annotations)
* [Special Cases of Annotations](#special-cases-of-annotations)
* [Unions Discriminators](#unions-discriminators)
@@ -24,8 +22,6 @@ compiler that uses `tao_idl`.**
* [Base Types in Arrays](#base-types-in-arrays-1)
* [Limitations](#limitations)
-<!-- vim-markdown-toc -->
-
## IDL Annotations
Annotations are a feature of IDLv4 that allows IDL authors to pass hints to the
@@ -436,7 +432,7 @@ of the same type, or read all the annotations, we will have to do what
for (AST_Annotation_Appls::iterator i = annotations.begin ();
i != annotations.end (); ++i)
{
- AST_Annotation_Appl *appl = *i;
+ AST_Annotation_Appl *appl = i->get ();
if (appl && appl->annotation_decl () == annotation)
{
// Do work with annotation application