You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/01/21 10:58:42 UTC

[GitHub] jonnxu commented on a change in pull request #73: [ISSUE #71]Fixed the issue that dangling reference returned when getting message property .

jonnxu commented on a change in pull request #73: [ISSUE #71]Fixed the issue that dangling reference returned when getting message property .
URL: https://github.com/apache/rocketmq-client-cpp/pull/73#discussion_r249405816
 
 

 ##########
 File path: src/message/MQMessage.cpp
 ##########
 @@ -109,9 +112,9 @@ void MQMessage::setPropertyInternal(const string& name, const string& value) {
 
 const string & MQMessage::getProperty(const string& name) const {
 
 Review comment:
   @ifplusor hi, if we can change getProperty return string but not string& ? because i don't think there is a need to return reference string for getProperty

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services