This is an automated email from the ASF dual-hosted git repository. martinzink pushed a commit to branch c_api_dev in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git
commit 97f568081584cdbe7b0dd778137b364ee79b77c9 Author: Martin Zink <[email protected]> AuthorDate: Wed Apr 29 11:23:37 2026 +0200 remove isWorkAvailable from api::core::ProcessorImpl --- .../cpp-extension-lib/include/api/core/ProcessorImpl.h | 2 -- extension-framework/cpp-extension-lib/src/core/ProcessorImpl.cpp | 4 ---- 2 files changed, 6 deletions(-) diff --git a/extension-framework/cpp-extension-lib/include/api/core/ProcessorImpl.h b/extension-framework/cpp-extension-lib/include/api/core/ProcessorImpl.h index a5753b2d3..2a5c90d52 100644 --- a/extension-framework/cpp-extension-lib/include/api/core/ProcessorImpl.h +++ b/extension-framework/cpp-extension-lib/include/api/core/ProcessorImpl.h @@ -67,8 +67,6 @@ class ProcessorImpl { virtual void onUnSchedule() {} - virtual bool isWorkAvailable(); - static constexpr auto DynamicProperties = std::array<minifi::core::DynamicPropertyDefinition, 0>{}; static constexpr auto OutputAttributes = std::array<minifi::core::OutputAttributeReference, 0>{}; diff --git a/extension-framework/cpp-extension-lib/src/core/ProcessorImpl.cpp b/extension-framework/cpp-extension-lib/src/core/ProcessorImpl.cpp index 328a89adc..077d95929 100644 --- a/extension-framework/cpp-extension-lib/src/core/ProcessorImpl.cpp +++ b/extension-framework/cpp-extension-lib/src/core/ProcessorImpl.cpp @@ -40,10 +40,6 @@ ProcessorImpl::~ProcessorImpl() { logger_->log_debug("Destroying processor {} with uuid {}", getName(), getUUIDStr()); } -bool ProcessorImpl::isWorkAvailable() { - return false; -} - std::string ProcessorImpl::getName() const { return metadata_.name; }
