Skip to content

Commit

Permalink
Refactor[MWC]: remove mwcu::NoOp and use bdlf::NoOp instead (bloomber…
Browse files Browse the repository at this point in the history
…g#364)

Signed-off-by: Evgeny Malygin <[email protected]>
  • Loading branch information
678098 authored Jul 17, 2024
1 parent 41b8fee commit 99e8aff
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 592 deletions.
3 changes: 2 additions & 1 deletion src/groups/mqb/mqba/mqba_clientsession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@
#include <bdld_datummapbuilder.h>
#include <bdld_manageddatum.h>
#include <bdlf_bind.h>
#include <bdlf_noop.h>
#include <bdlf_placeholder.h>
#include <bdlma_localsequentialallocator.h>
#include <bdlt_timeunitratio.h>
Expand Down Expand Up @@ -1079,7 +1080,7 @@ void ClientSession::finishCheckUnconfirmedDispatched(
mwcu::WeakMemFnUtil::weakMemFn(&ClientSession::checkUnconfirmed,
d_self.acquireWeak()),
shutdownCtx,
mwcu::NoOp()));
bdlf::noOp));
}

void ClientSession::closeChannel()
Expand Down
6 changes: 1 addition & 5 deletions src/groups/mwc/mwcu/doc/mwcu.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ reused through various applications.

/Hierarchical Synopsis
/---------------------
The 'mwcu' package currently has 20 components having 2 level of physical
The 'mwcu' package currently has 19 components having 2 level of physical
dependency. The list below shows the hierarchal ordering of the components.
..
2. mwcu_blobiterator
Expand All @@ -22,7 +22,6 @@ dependency. The list below shows the hierarchal ordering of the components.
mwcu_atomicvalidator
mwcu_blob
mwcu_memoutstream
mwcu_noop
mwcu_objectplaceholder
mwcu_outstreamformatsaver
mwcu_sharedresource
Expand Down Expand Up @@ -58,9 +57,6 @@ dependency. The list below shows the hierarchal ordering of the components.
: 'mwcu_objectplaceholder':
: Provide a placeholder for any object.
:
: 'mwcu_noop':
: Provide a no-op functor taking an arbitrary number of arguments.
:
: 'mwcu_operationchain':
: Provide a mechanism to serialize execution of async operations.
:
Expand Down
25 changes: 0 additions & 25 deletions src/groups/mwc/mwcu/mwcu_noop.cpp

This file was deleted.

98 changes: 0 additions & 98 deletions src/groups/mwc/mwcu/mwcu_noop.h

This file was deleted.

47 changes: 0 additions & 47 deletions src/groups/mwc/mwcu/mwcu_noop_cpp03.cpp

This file was deleted.

Loading

0 comments on commit 99e8aff

Please sign in to comment.