You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pn...@apache.org on 2022/11/02 06:34:18 UTC
[celix] branch feature/cxx14_framework_support updated: Update call of Properties::set from SvcRegBuilder for C++14 support
This is an automated email from the ASF dual-hosted git repository.
pnoltes pushed a commit to branch feature/cxx14_framework_support
in repository https://gitbox.apache.org/repos/asf/celix.git
The following commit(s) were added to refs/heads/feature/cxx14_framework_support by this push:
new 0255c578 Update call of Properties::set from SvcRegBuilder for C++14 support
0255c578 is described below
commit 0255c5786b778abcf47d41a48d3d20cc05d90abb
Author: Pepijn Noltes <pn...@apache.org>
AuthorDate: Wed Nov 2 07:34:09 2022 +0100
Update call of Properties::set from SvcRegBuilder for C++14 support
---
libs/framework/include/celix/ServiceRegistrationBuilder.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/framework/include/celix/ServiceRegistrationBuilder.h b/libs/framework/include/celix/ServiceRegistrationBuilder.h
index a05de383..4982766f 100644
--- a/libs/framework/include/celix/ServiceRegistrationBuilder.h
+++ b/libs/framework/include/celix/ServiceRegistrationBuilder.h
@@ -80,7 +80,7 @@ namespace celix {
ServiceRegistrationBuilder& addProperty(std::string_view key, T&& value) { properties.template set(key, std::forward<T>(value)); return *this; }
#else
template<typename T>
- ServiceRegistrationBuilder& addProperty(const std::string& key, T&& value) { properties.template set(key, std::forward<T>(value)); return *this; }
+ ServiceRegistrationBuilder& addProperty(const std::string& key, T&& value) { properties.set(key, std::forward<T>(value)); return *this; }
#endif
/**