aboutsummaryrefslogtreecommitdiff
path: root/odb/pragma.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/pragma.cxx')
-rw-r--r--odb/pragma.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/odb/pragma.cxx b/odb/pragma.cxx
index 733d19c..549a0f6 100644
--- a/odb/pragma.cxx
+++ b/odb/pragma.cxx
@@ -3117,6 +3117,7 @@ handle_pragma_qualifier (cxx_lexer& l, string p)
{
custom_cxx_type ct;
ct.loc = loc;
+ ct.scope = current_scope ();
val = ct;
name = "custom-cxx-types";
adder = &accumulate<custom_cxx_type>;