Skip to content

Commit 96aba0c

Browse files
authored
Fix[bmqa]: Remove unused Session::impl() function (#519)
This function is not used within the BlazingMQ code, and exposes publically the PIMPL implementation that is used by `bmqa::Session`. Because we do not use this function, and because it is part of the public (documented!) API, users could break our session invariants. This patch removes this function from the API. While this is a breaking change, we do not want any user to be using this function, so we should be okay with breaking them. Signed-off-by: Patrick M. Niedzielski <[email protected]>
1 parent 03264da commit 96aba0c

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/groups/bmq/bmqa/bmqa_session.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,13 +1159,6 @@ class Session : public AbstractSession {
11591159
/// been started.
11601160
int configureMessageDumping(const bslstl::StringRef& command)
11611161
BSLS_KEYWORD_OVERRIDE;
1162-
1163-
/// Internal
1164-
///--------
1165-
1166-
/// Do *NOT* use. Internal function, reserved for BlazingMQ internal
1167-
/// usage.
1168-
void* impl();
11691162
};
11701163

11711164
// ============================================================================
@@ -1181,11 +1174,6 @@ inline int Session::confirmMessage(const Message& message)
11811174
return confirmMessage(message.confirmationCookie());
11821175
}
11831176

1184-
inline void* Session::impl()
1185-
{
1186-
return &d_impl;
1187-
}
1188-
11891177
} // close package namespace
11901178
} // close enterprise namespace
11911179

0 commit comments

Comments
 (0)