aboutsummaryrefslogtreecommitdiff
path: root/odb
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-05-17 15:04:02 -0400
committerBoris Kolpackov <boris@codesynthesis.com>2013-05-17 15:04:02 -0400
commit1e115641e1929cbec63fe26a2fe0801bcd82b1ce (patch)
tree5668fc8ed706793791dea91ded39ac4b7f82d561 /odb
parent6692558ba588c76f5e61eb7ed9a1040d36cb9ed7 (diff)
Use primary type node to resolve virtual data member class
Diffstat (limited to 'odb')
-rw-r--r--odb/pragma.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/pragma.cxx b/odb/pragma.cxx
index fcf800d..13ebeb0 100644
--- a/odb/pragma.cxx
+++ b/odb/pragma.cxx
@@ -2878,7 +2878,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)
{