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 2020/10/21 04:47:05 UTC

[GitHub] [rocketmq-client-cpp] ifplusor commented on pull request #334: fix SendMessageRequestHeader Serialization bug

ifplusor commented on pull request #334:
URL: https://github.com/apache/rocketmq-client-cpp/pull/334#issuecomment-713300299


   I think you can add a specialization of ```UtilAll::to_string``` such as:
   
   ```c++
   template <>
   inline std::string UtilAll::to_string<bool>(bool value) {
     return value ? "true" : "false";
   }
   ```
   
   see: https://github.com/ifplusor/rocketmq-client-cpp/blob/a750efad307a98c49b20d2beebc763633af2e472/src/common/UtilAll.h#L153


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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