Repository: nifi-minifi-cpp
Updated Branches:
  refs/heads/master f0e6b68a1 -> df2bb2549


MINIFICPP-679: Revert changes. We can make them const but we should wait after 
additional testing before pushing these changes

This closes #444.

Signed-off-by: Aldrin Piri <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/commit/df2bb254
Tree: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/tree/df2bb254
Diff: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/diff/df2bb254

Branch: refs/heads/master
Commit: df2bb2549021277d953d8ebc2346c558333fadf4
Parents: f0e6b68
Author: Marc Parisi <[email protected]>
Authored: Mon Nov 19 20:05:23 2018 -0500
Committer: Aldrin Piri <[email protected]>
Committed: Mon Nov 19 21:15:32 2018 -0500

----------------------------------------------------------------------
 libminifi/include/core/Connectable.h | 4 ++--
 libminifi/src/core/Connectable.cpp   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df2bb254/libminifi/include/core/Connectable.h
----------------------------------------------------------------------
diff --git a/libminifi/include/core/Connectable.h 
b/libminifi/include/core/Connectable.h
index c43a742..82a9878 100644
--- a/libminifi/include/core/Connectable.h
+++ b/libminifi/include/core/Connectable.h
@@ -49,7 +49,7 @@ class Connectable : public CoreComponent {
   bool setSupportedRelationships(const std::set<Relationship> &relationships);
 
   // Whether the relationship is supported
-  bool isSupportedRelationship(const Relationship &relationship) const;
+  bool isSupportedRelationship(const Relationship &relationship);
 
   std::vector<Relationship> getSupportedRelationships() const;
 
@@ -61,7 +61,7 @@ class Connectable : public CoreComponent {
   bool setAutoTerminatedRelationships(const std::set<Relationship> 
&relationships);
 
   // Check whether the relationship is auto terminated
-  bool isAutoTerminated(const Relationship &relationship) const;
+  bool isAutoTerminated(const Relationship &relationship);
 
   // Get Processor penalization period in MilliSecond
   uint64_t getPenalizationPeriodMsec(void) const {

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df2bb254/libminifi/src/core/Connectable.cpp
----------------------------------------------------------------------
diff --git a/libminifi/src/core/Connectable.cpp 
b/libminifi/src/core/Connectable.cpp
index 3f94697..bd5cae1 100644
--- a/libminifi/src/core/Connectable.cpp
+++ b/libminifi/src/core/Connectable.cpp
@@ -81,7 +81,7 @@ std::vector<Relationship> 
Connectable::getSupportedRelationships() const {
 }
 
 // Whether the relationship is supported
-bool Connectable::isSupportedRelationship(const core::Relationship 
&relationship) const {
+bool Connectable::isSupportedRelationship(const core::Relationship 
&relationship) {
   // if we are running we do not need a lock since the function to change 
relationships_ ( setSupportedRelationships)
   // cannot be executed while we are running
   const bool isConnectableRunning = isRunning();
@@ -113,7 +113,7 @@ bool Connectable::setAutoTerminatedRelationships(const 
std::set<Relationship> &r
 }
 
 // Check whether the relationship is auto terminated
-bool Connectable::isAutoTerminated(const core::Relationship &relationship) 
const {
+bool Connectable::isAutoTerminated(const core::Relationship &relationship) {
   // if we are running we do not need a lock since the function to change 
relationships_ ( setSupportedRelationships)
   // cannot be executed while we are running
   const bool isConnectableRunning = isRunning();

Reply via email to