summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/ast/ast_visitor_tmpl_module_ref.cpp
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2010-11-30 20:53:01 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2010-11-30 20:53:01 +0000
commit7132d66c201d5b83a440d420f8dd0cd2a24536fd (patch)
tree729d6e6d0bb5c16b3549b3c5655f4bec4fc07f08 /TAO/TAO_IDL/ast/ast_visitor_tmpl_module_ref.cpp
parente536d42709fa908e9fde4f2b6ffcb8df0f888fab (diff)
downloadATCD-7132d66c201d5b83a440d420f8dd0cd2a24536fd.tar.gz
ChangeLogTag: Tue Nov 30 20:48:06 UTC 2010 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/TAO_IDL/ast/ast_visitor_tmpl_module_ref.cpp')
-rw-r--r--TAO/TAO_IDL/ast/ast_visitor_tmpl_module_ref.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/ast/ast_visitor_tmpl_module_ref.cpp b/TAO/TAO_IDL/ast/ast_visitor_tmpl_module_ref.cpp
index 2ff6d0c4d5c..9302701cc6f 100644
--- a/TAO/TAO_IDL/ast/ast_visitor_tmpl_module_ref.cpp
+++ b/TAO/TAO_IDL/ast/ast_visitor_tmpl_module_ref.cpp
@@ -76,6 +76,8 @@ ast_visitor_tmpl_module_ref::visit_template_module_ref (
const_cast<FE_Utils::T_PARAMLIST_INFO *> (
idl_global->current_params ());
+ UTL_StrList const *old_refs = idl_global->alias_params ();
+
idl_global->alias_params (
const_cast<UTL_StrList *> (node->param_refs ()));
AST_Template_Module *tm = node->ref ();
@@ -95,7 +97,7 @@ ast_visitor_tmpl_module_ref::visit_template_module_ref (
/// Restore the global param list state.
idl_global->current_params (holder);
- idl_global->alias_params (0);
+ idl_global->alias_params (const_cast<UTL_StrList *> (old_refs));
idl_global->scopes ().pop ();