aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/pragma.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/pragma.cxx b/odb/pragma.cxx
index 2d00a88..9267c2e 100644
--- a/odb/pragma.cxx
+++ b/odb/pragma.cxx
@@ -2772,7 +2772,7 @@ handle_pragma_qualifier (cxx_lexer& l, string p)
if (scope == 0)
return; // Diagnostics has already been issued.
- scope = TREE_TYPE (scope);
+ scope = TYPE_MAIN_VARIANT (TREE_TYPE (scope));
if (tt != CPP_EOF)
{