From 1e115641e1929cbec63fe26a2fe0801bcd82b1ce Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 17 May 2013 15:04:02 -0400 Subject: Use primary type node to resolve virtual data member class --- odb/pragma.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'odb') 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) { -- cgit v1.1