[
https://issues.apache.org/jira/browse/GEODE-3288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16271110#comment-16271110
]
ASF GitHub Bot commented on GEODE-3288:
---------------------------------------
dgkimura commented on a change in pull request #160: GEODE-3288: Converts char*
to std::string on public API.
URL: https://github.com/apache/geode-native/pull/160#discussion_r153819936
##########
File path: cppcache/include/geode/CacheAttributes.hpp
##########
@@ -80,17 +82,16 @@ class CPPCACHE_EXPORT CacheAttributes {
/** Sets cache level endpoints list.
*
*/
- void setEndpoints(char* endpoints);
+ void setEndpoints(const std::string& endpoints);
+ void setEndpoints(std::string&& endpoints);
Review comment:
Did you implement an rvalue ref version of this function? If so, why was it
needed?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Replace char* with std::string
> ------------------------------
>
> Key: GEODE-3288
> URL: https://issues.apache.org/jira/browse/GEODE-3288
> Project: Geode
> Issue Type: Improvement
> Components: native client
> Reporter: Ernest Burghardt
>
> In all public API headers
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)