Repository: celix
Updated Branches:
  refs/heads/develop f153cf7d0 -> 60f327df6


CELIX-438: Replaces deprecated api call


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/60f327df
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/60f327df
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/60f327df

Branch: refs/heads/develop
Commit: 60f327df6557c5e8e48c61f8a16a5b5d249dd7bd
Parents: f153cf7
Author: Pepijn Noltes <[email protected]>
Authored: Sun Dec 2 17:00:32 2018 +0100
Committer: Pepijn Noltes <[email protected]>
Committed: Sun Dec 2 17:00:32 2018 +0100

----------------------------------------------------------------------
 libs/framework/include/celix/dm/Component_Impl.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/60f327df/libs/framework/include/celix/dm/Component_Impl.h
----------------------------------------------------------------------
diff --git a/libs/framework/include/celix/dm/Component_Impl.h 
b/libs/framework/include/celix/dm/Component_Impl.h
index 54914be..b855180 100644
--- a/libs/framework/include/celix/dm/Component_Impl.h
+++ b/libs/framework/include/celix/dm/Component_Impl.h
@@ -119,7 +119,7 @@ ServiceDependency<T,I>& 
Component<T>::createServiceDependency(const std::string
 template<class T>
 template<class I>
 Component<T>& Component<T>::remove(ServiceDependency<T,I>& dep) {
-    component_removeServiceDependency(cComponent(), dep.cServiceDependency());
+    celix_component_removeServiceDependency(cComponent(), 
dep.cServiceDependency());
     this->dependencies.erase(std::remove(this->dependencies.begin(), 
this->dependencies.end(), dep));
     return *this;
 }
@@ -145,7 +145,7 @@ CServiceDependency<T,I>& 
Component<T>::createCServiceDependency(const std::strin
 template<class T>
 template<typename I>
 Component<T>& Component<T>::remove(CServiceDependency<T,I>& dep) {
-    component_removeServiceDependency(cComponent(), dep.cServiceDependency());
+    celix_component_removeServiceDependency(cComponent(), 
dep.cServiceDependency());
      this->dependencies.erase(std::remove(this->dependencies.begin(), 
this->dependencies.end(), dep));
     return *this;
 }

Reply via email to