aboutsummaryrefslogtreecommitdiff
path: root/odb/parser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/parser.cxx')
-rw-r--r--odb/parser.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/parser.cxx b/odb/parser.cxx
index 968903c..7cce486 100644
--- a/odb/parser.cxx
+++ b/odb/parser.cxx
@@ -928,6 +928,11 @@ collect (tree ns)
continue;
#endif
+ // Ignore namespace aliases.
+ //
+ if (DECL_NAMESPACE_ALIAS (decl))
+ continue;
+
if (!DECL_IS_BUILTIN (decl) || DECL_NAMESPACE_STD_P (decl))
{
if (trace)