diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-01-24 16:53:27 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-01-24 16:53:27 +0000 |
commit | b4383ddcb513a532f644f5e07ee9af038c67ed40 (patch) | |
tree | 4232a1221f83956ea047668a0ff601d1a5547462 /TAO/tao/deep_free.cpp | |
parent | 98c6c8b0f48df45bd8ccc51c5c207c92fe219199 (diff) | |
download | ATCD-b4383ddcb513a532f644f5e07ee9af038c67ed40.tar.gz |
ChangeLogTag:Sat Jan 24 10:30:40 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/deep_free.cpp')
-rw-r--r-- | TAO/tao/deep_free.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/TAO/tao/deep_free.cpp b/TAO/tao/deep_free.cpp index 0dd45883f26..aa11c0e481d 100644 --- a/TAO/tao/deep_free.cpp +++ b/TAO/tao/deep_free.cpp @@ -435,18 +435,17 @@ TAO_Marshal_Union::deep_free (CORBA::TypeCode_ptr tc, CORBA::TypeCode::traverse_status TAO_Marshal_Sequence::deep_free (CORBA::TypeCode_ptr tc, const void *source, - const void *dest, - CORBA::Environment &env){ + const void *, + CORBA::Environment &) +{ // TAO implements sequences using inheritance from a base // class. That class allocate and deallocates the buffer, using // virtual methods. - ACE_UNUSED_ARG (dest); - ACE_UNUSED_ARG (env); - if (tc) { - TAO_Base_Sequence *src = ACE_reinterpret_cast(TAO_Base_Sequence*,source); + TAO_Base_Sequence *src = + ACE_reinterpret_cast(TAO_Base_Sequence*,ACE_const_cast(void*,source)); src->_deallocate_buffer (); return CORBA::TypeCode::TRAVERSE_CONTINUE; |