Skip to content

Commit

Permalink
mqbmock::StorageMgr: Fix compilation errors
Browse files Browse the repository at this point in the history
Signed-off-by: Yuan Jing Vincent Yan <[email protected]>
  • Loading branch information
kaikulimu committed Aug 23, 2024
1 parent 980527a commit 3bcd80b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/groups/mqb/mqbmock/mqbmock_storagemanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@ void StorageManager::processRecoveryEvent(
}

void StorageManager::processReceiptEvent(
BSLS_ANNOTATION_UNUSED const mqbi::DispatcherReceiptEvent& event)
BSLS_ANNOTATION_UNUSED const bmqp::Event& event,
BSLS_ANNOTATION_UNUSED mqbnet::ClusterNode* source)
{
// NOTHING
}
Expand Down
7 changes: 4 additions & 3 deletions src/groups/mqb/mqbmock/mqbmock_storagemanager.h
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,10 @@ class StorageManager : public mqbi::StorageManager {
virtual void processRecoveryEvent(
const mqbi::DispatcherRecoveryEvent& event) BSLS_KEYWORD_OVERRIDE;

/// Executed in cluster dispatcher thread.
virtual void processReceiptEvent(const mqbi::DispatcherReceiptEvent& event)
BSLS_KEYWORD_OVERRIDE;
/// Executed in IO thread.
virtual void
processReceiptEvent(const bmqp::Event& event,
mqbnet::ClusterNode* source) BSLS_KEYWORD_OVERRIDE;

/// Executed by any thread.
virtual void processPrimaryStatusAdvisory(
Expand Down

0 comments on commit 3bcd80b

Please sign in to comment.