Skip to content

Docs[bmqa]: Doxygenify bmqa_message::setData #755

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions src/groups/bmq/bmqa/bmqa_message.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,17 +209,17 @@ class Message {
/// This method is deprecated, please use `setDataRef()` instead.
Message& setData(const bdlbb::Blob* data) BSLS_ANNOTATION_DEPRECATED;

/// Set the payload of this message to the specified `length` bytes
/// starting at the specified `data` address. The behavior is undefined
/// unless `data` is non-null and `length` is greater than zero. Note that
/// payload pointed to by `data` is *not* copied right away, and should not
/// be destroyed or modified until this message has been packed (see
/// `bmqa::MessageEventBuilder` component level documentation for correct
/// usage).
///
/// This method is deprecated, please use `setDataRef()` instead.
Message& setData(const char* data,
size_t length) BSLS_ANNOTATION_DEPRECATED;
// Set the payload of this message to the specified 'length' bytes
// starting at the specified 'data' address. The behavior is undefined
// unless 'data' is non-null and 'length' is greater than zero. Note
// that payload pointed to by 'data' is *not* copied right away, and
// should not be destroyed or modified until this message has been
// packed (see 'bmqa::MessageEventBuilder' component level
// documentation for correct usage).
//
// This method is deprecated, please use 'setDataRef()' instead.

/// Set the payload of this message to the blob pointed to by the
/// specified `data`. Behavior is undefined unless `data` is non-null
Expand Down
Loading