This is an automated email from the ASF dual-hosted git repository.
pnoltes pushed a commit to branch feature/cxx_rsa_update
in repository https://gitbox.apache.org/repos/asf/celix.git
The following commit(s) were added to refs/heads/feature/cxx_rsa_update by this
push:
new 83f65d5 Renames RemoteCalculatorActivator
83f65d5 is described below
commit 83f65d5cb4226c6a907efbe9aa9d9b5441ac96c2
Author: Pepijn Noltes <[email protected]>
AuthorDate: Wed May 12 11:32:03 2021 +0200
Renames RemoteCalculatorActivator
---
bundles/cxx_remote_services/integration/src/CalculatorConsumer.cc | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/bundles/cxx_remote_services/integration/src/CalculatorConsumer.cc
b/bundles/cxx_remote_services/integration/src/CalculatorConsumer.cc
index 7ef3330..4cc7f7e 100644
--- a/bundles/cxx_remote_services/integration/src/CalculatorConsumer.cc
+++ b/bundles/cxx_remote_services/integration/src/CalculatorConsumer.cc
@@ -21,7 +21,6 @@
#include "celix/IShellCommand.h"
#include "celix/BundleActivator.h"
-#include "celix/PromiseFactory.h"
#include "celix/rsa/IConfiguredDiscoveryManager.h"
#include "ICalculator.h"
@@ -51,9 +50,9 @@ private:
std::shared_ptr<ICalculator> calculator{};
};
-class CalculatorProviderActivator {
+class CalculatorConsumerActivator {
public:
- explicit CalculatorProviderActivator(const
std::shared_ptr<celix::BundleContext>& ctx) {
+ explicit CalculatorConsumerActivator(const
std::shared_ptr<celix::BundleContext>& ctx) {
auto& cmp =
ctx->getDependencyManager()->createComponent(std::make_shared<CalculatorConsumer>());
cmp.createServiceDependency<ICalculator>()
.setRequired(true)
@@ -72,4 +71,4 @@ public:
}
};
-CELIX_GEN_CXX_BUNDLE_ACTIVATOR(CalculatorProviderActivator)
+CELIX_GEN_CXX_BUNDLE_ACTIVATOR(CalculatorConsumerActivator)