diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2012-02-20 07:20:22 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2012-02-20 07:20:22 +0000 |
commit | 4f245967cb241021844b678e75ff48c6783113d3 (patch) | |
tree | 3375eb90f619656950d07a14090abf9d3e381707 /sca-cpp/trunk/kernel | |
parent | 8fdc6a6dc4b2b23b923d8cbfba5190933155e95d (diff) |
Optimize server modules a bit. Pass individual config elements instead of the whole server config. Load target composite once into the request. Enable loading of shared component implementations from the main contribution.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1291134 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/kernel')
-rw-r--r-- | sca-cpp/trunk/kernel/element.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-cpp/trunk/kernel/element.hpp b/sca-cpp/trunk/kernel/element.hpp index fb21aa60ad..c69d3bbf07 100644 --- a/sca-cpp/trunk/kernel/element.hpp +++ b/sca-cpp/trunk/kernel/element.hpp @@ -200,7 +200,7 @@ const value valueToElement(const value& t) { // Convert a single value to an attribute or an element if (!isList(v)) { if (substr(n, 0, 1) == atsign) - return mklist<value>(attribute, substr(n, 1), v); + return mklist<value>(attribute, c_str(substr(n, 1)), v); return mklist(element, n, v); } |