diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2011-12-05 18:04:18 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2011-12-05 18:04:18 +0000 |
commit | 9ab27ca2f0f9a789347b261f0829ed9522f233f7 (patch) | |
tree | 39d8c320d5fa27e808f8a2aa7afa8809d0c2c14b | |
parent | a05a1f8101e8ec535d307c2e1be617ea40372f1f (diff) | |
download | ATCD-9ab27ca2f0f9a789347b261f0829ed9522f233f7.tar.gz |
Added missing cases for switch statements in visit_union() and visit_typedef() methods of valuetype visitor. Thanks to Simon Massey <simon dot massey at prismtech dot com> for reporting the problem this created when generating OBV module code for valuetypes.
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_valuetype/valuetype.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype.cpp b/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype.cpp index 6d2559612db..dbe0de1df37 100644 --- a/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype.cpp +++ b/TAO/TAO_IDL/be/be_visitor_valuetype/valuetype.cpp @@ -510,6 +510,8 @@ be_visitor_valuetype::visit_union (be_union *node) break; } case TAO_CodeGen::TAO_VALUETYPE_OBV_CH: + case TAO_CodeGen::TAO_MODULE_OBV_CI: + case TAO_CodeGen::TAO_MODULE_OBV_CS: case TAO_CodeGen::TAO_ROOT_SH: case TAO_CodeGen::TAO_ROOT_IH: case TAO_CodeGen::TAO_ROOT_IS: |