From 6bb94940f5d5de4e4d17e63aff6cf80ac073052e Mon Sep 17 00:00:00 2001 From: Evgeny Malygin Date: Fri, 19 Jul 2024 13:35:14 +0300 Subject: [PATCH] Update mwcex_executor.h Signed-off-by: Evgeny Malygin --- src/groups/mwc/mwcex/mwcex_executor.h | 47 +-------------------------- 1 file changed, 1 insertion(+), 46 deletions(-) diff --git a/src/groups/mwc/mwcex/mwcex_executor.h b/src/groups/mwc/mwcex/mwcex_executor.h index 32bd67aae6..68fec872ec 100644 --- a/src/groups/mwc/mwcex/mwcex_executor.h +++ b/src/groups/mwc/mwcex/mwcex_executor.h @@ -292,7 +292,7 @@ class Executor_Box_SboImp { /// Provides a "small" dummy object which size is used to calculate the /// size of the on-stack buffer used to store the executor target. - struct Dummy : public Executor_TargetBase { + struct Dummy { void* d_padding[4]; bool @@ -303,51 +303,6 @@ class Executor_Box_SboImp { } void post(BSLS_ANNOTATION_UNUSED const bsl::function& f) const - BSLS_KEYWORD_OVERRIDE - { - // NOTHING - } - - /// Perform `ExecutorTraits::dispatch(e, f)`, where `e` is the - /// contained executor target of type `E`. - void dispatch(BSLS_ANNOTATION_UNUSED const bsl::function& f) - const BSLS_KEYWORD_OVERRIDE - { - // NOTHING - } - - /// Move-construct `*this` into the specified `dst` address. - void move(BSLS_ANNOTATION_UNUSED void* dst) - BSLS_KEYWORD_NOEXCEPT BSLS_KEYWORD_OVERRIDE - { - // NOTHING - } - - bool equal(BSLS_ANNOTATION_UNUSED const Executor_TargetBase& other) - const BSLS_KEYWORD_NOEXCEPT - { - // NOTHING - } - - /// Return a pointer to the contained executor target. - void* target() BSLS_KEYWORD_NOEXCEPT - { - // NOTHING - } - - const void* target() const BSLS_KEYWORD_NOEXCEPT - { - // NOTHING - } - - /// Return `typeid(e)`, where `e` is the contained executor target. - const bsl::type_info& targetType() const BSLS_KEYWORD_NOEXCEPT - { - // NOTHING - } - - /// Copy-construct `*this` into the specified `dst` address. - void copy(BSLS_ANNOTATION_UNUSED void* dst) const BSLS_KEYWORD_NOEXCEPT { // NOTHING }