diff options
Diffstat (limited to 'TAO/IIOP/lib/sequence.hh')
-rw-r--r-- | TAO/IIOP/lib/sequence.hh | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/TAO/IIOP/lib/sequence.hh b/TAO/IIOP/lib/sequence.hh deleted file mode 100644 index 533bdf2b617..00000000000 --- a/TAO/IIOP/lib/sequence.hh +++ /dev/null @@ -1,23 +0,0 @@ -// -// utility template class -// -template <class T> -struct CORBA_SEQUENCE { -#if SIZEOF_LONG == 4 - unsigned long maximum; - unsigned long length; -#else - // just assume "int" is four bytes long ... - unsigned maximum; - unsigned length; -#endif - T *buffer; - - CORBA_SEQUENCE () - : maximum (0), length (0), buffer (0) { } - - // XXX destructor should free buffer, elements!! - ~CORBA_SEQUENCE () { } -}; - -typedef CORBA_SEQUENCE <CORBA_Octet> CORBA_OctetSeq; |