diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-25 17:56:19 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-25 17:56:19 +0000 |
commit | 581bd75216c14ef3f650e304bdbb3afde102f937 (patch) | |
tree | 18f72f96756a383f034121342986d7feb388886a /TAO/tao/Sequence.h | |
parent | e538fa1aea936814afc114acaadb359e90b3f964 (diff) | |
download | ATCD-581bd75216c14ef3f650e304bdbb3afde102f937.tar.gz |
ChangeLogTag:Thu Jun 25 12:54:09 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Sequence.h')
-rw-r--r-- | TAO/tao/Sequence.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/TAO/tao/Sequence.h b/TAO/tao/Sequence.h index f89606cc3ec..0f304b361f4 100644 --- a/TAO/tao/Sequence.h +++ b/TAO/tao/Sequence.h @@ -430,14 +430,12 @@ public: // = TAO extension ACE_Message_Block* mb (void) const; - // returns a duplicate of the underlying message block, it is the - // caller responsability to release the copy (IMHO this is - // consistent with the CORBA calling semantics, return values are - // owned by the caller). + // Returns the underlying message block, the caller must *not* + // release the copy. void replace (CORBA::ULong length, const ACE_Message_Block* mb); // Replaces the current buffer with <mb>, using only <length> bytes. - // It takes a duplicate of <mb>. + // It takes a duplicate of <mb> so the user still owns it. private: ACE_Message_Block* mb_; |