summaryrefslogtreecommitdiff
path: root/odb/semantics
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-02-05 16:01:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-02-05 16:01:42 +0200
commit511dcf67322ad87fb32f97d1cf7725c129e83898 (patch)
treecfcbf8705fc208d101b8adbd270a425e7466d518 /odb/semantics
parentd1b34452618d36eb486ff18b16f5d94acc6eeb07 (diff)
Initial work to make ODB compatible with GCC 6
Diffstat (limited to 'odb/semantics')
-rw-r--r--odb/semantics/elements.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/semantics/elements.cxx b/odb/semantics/elements.cxx
index 43fb379..ae9e906 100644
--- a/odb/semantics/elements.cxx
+++ b/odb/semantics/elements.cxx
@@ -76,7 +76,7 @@ namespace semantics
if (tree decl = TYPE_NAME (n))
name = DECL_NAME (decl);
- return name != 0 && ANON_AGGRNAME_P (name);
+ return name != 0 && anon_aggrname_p (name);
}
return true;
@@ -125,7 +125,7 @@ namespace semantics
if (tree decl = TYPE_NAME (type))
{
name = DECL_NAME (decl);
- if (name != 0 && ANON_AGGRNAME_P (name))
+ if (name != 0 && anon_aggrname_p (name))
return true;
tree s (CP_DECL_CONTEXT (decl));