Skip to content

Commit

Permalink
bslma_memoryresource: Fix documentation rendering
Browse files Browse the repository at this point in the history
On the generated documentation, the allocate() member has been combined on the same line as the assignment operator. I suspect this missing //! fixes it.
  • Loading branch information
hallfox authored and osubboo committed May 6, 2024
1 parent 84d1952 commit bc33501
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion groups/bsl/bslma/bslma_memoryresource.h
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ class memory_resource {

public:
// CREATORS

//! memory_resource() BSLS_KEYWORD_DEFAULT;
//! memory_resource(const memory_resource&) BSLS_KEYWORD_DEFAULT;
// Create this object. Has no effect other than to begin its lifetime.
Expand All @@ -411,8 +412,9 @@ class memory_resource {
// Destroy this object. Has no effect other than to end its lifetime.

// MANIPULATORS

//! memory_resource& operator=(const memory_resource&)
// BSLS_KEYWORD_DEFAULT;
//! BSLS_KEYWORD_DEFAULT;
// Return a modifiable reference to this object.

BSLS_ANNOTATION_NODISCARD
Expand Down

0 comments on commit bc33501

Please sign in to comment.