summaryrefslogtreecommitdiff
path: root/TAO/tao/Sequence_T.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Sequence_T.cpp')
-rw-r--r--TAO/tao/Sequence_T.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/TAO/tao/Sequence_T.cpp b/TAO/tao/Sequence_T.cpp
index fa44243a940..d38b2ff5b85 100644
--- a/TAO/tao/Sequence_T.cpp
+++ b/TAO/tao/Sequence_T.cpp
@@ -97,6 +97,18 @@ TAO_Unbounded_Sequence<T>::~TAO_Unbounded_Sequence (void)
template<typename T>
void
+TAO_Unbounded_Sequence<T>::_tao_any_destructor (
+ void * _tao_void_pointer
+ )
+{
+ typedef TAO_Unbounded_Sequence<T> THIS_SEQ_TYPE;
+ THIS_SEQ_TYPE *tmp = ACE_static_cast (THIS_SEQ_TYPE *,
+ _tao_void_pointer);
+ delete tmp;
+}
+
+template<typename T>
+void
TAO_Unbounded_Sequence<T>::_allocate_buffer (CORBA::ULong length)
{
T * tmp = TAO_Unbounded_Sequence<T>::allocbuf (length);
@@ -301,6 +313,18 @@ TAO_Bounded_Sequence<T, MAX>::~TAO_Bounded_Sequence (void)
this->_deallocate_buffer ();
}
+template<typename T, size_t MAX>
+void
+TAO_Bounded_Sequence<T, MAX>::_tao_any_destructor (
+ void * _tao_void_pointer
+ )
+{
+ typedef TAO_Bounded_Sequence<T, MAX> THIS_SEQ_TYPE;
+ THIS_SEQ_TYPE *tmp = ACE_static_cast (THIS_SEQ_TYPE *,
+ _tao_void_pointer);
+ delete tmp;
+}
+
template<typename T, size_t MAX>
void
TAO_Bounded_Sequence<T, MAX>::_allocate_buffer (CORBA::ULong)