diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_enum_val.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_enum_val.cpp | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/TAO/TAO_IDL/be/be_enum_val.cpp b/TAO/TAO_IDL/be/be_enum_val.cpp index 84f0b1b7953..6739a120681 100644 --- a/TAO/TAO_IDL/be/be_enum_val.cpp +++ b/TAO/TAO_IDL/be/be_enum_val.cpp @@ -19,11 +19,13 @@ // // ============================================================================ -#include "idl.h" -#include "idl_extern.h" -#include "be.h" +#include "idl.h" +#include "idl_extern.h" +#include "be.h" -ACE_RCSID(be, be_enum_val, "$Id$") +ACE_RCSID (be, + be_enum_val, + "$Id$") be_enum_val::be_enum_val (void) { @@ -33,7 +35,7 @@ be_enum_val::be_enum_val (unsigned long v, UTL_ScopedName *n) : AST_Constant (AST_Expression::EV_ulong, AST_Decl::NT_enum_val, - new AST_Expression(v), + new AST_Expression (v), n), AST_Decl (AST_Decl::NT_enum_val, n) @@ -46,6 +48,13 @@ be_enum_val::accept (be_visitor *visitor) return visitor->visit_enum_val (this); } +void +be_enum_val::destroy (void) +{ + this->AST_EnumVal::destroy (); + this->be_decl::destroy (); +} + int be_enum_val::compute_size_type (void) { |