diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-09-05 13:57:39 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-09-05 13:57:39 +0200 |
commit | 536b0879fc05fa0379e4b9bc997508aaf67bbbd1 (patch) | |
tree | e5ec56f226b8fa44b59dafdae416b0bb29c5160e /odb/processor.cxx | |
parent | 1d8870af31addbc3c2f71a6c1458ed8279b3e2f1 (diff) |
Use scope of name used in pragma for template instantiations
Diffstat (limited to 'odb/processor.cxx')
-rw-r--r-- | odb/processor.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/odb/processor.cxx b/odb/processor.cxx index a08d986..cdfd883 100644 --- a/odb/processor.cxx +++ b/odb/processor.cxx @@ -2184,7 +2184,7 @@ namespace // the session value. // bool found (false); - for (semantics::scope* s (&c.scope ());; s = &s->scope_ ()) + for (semantics::scope* s (&class_scope (c));; s = &s->scope_ ()) { using semantics::namespace_; @@ -2667,7 +2667,7 @@ namespace // See if any of the namespaces containing this class specify // a pointer. // - for (semantics::scope* s (&c.scope ());; s = &s->scope_ ()) + for (semantics::scope* s (&class_scope (c));; s = &s->scope_ ()) { using semantics::namespace_; @@ -2754,7 +2754,7 @@ namespace // Resolve scope is the scope of the class. // - resolve_scope = c.scope ().tree_node (); + resolve_scope = class_scope (c).tree_node (); } } |