apache / rocketmq-client-cpp

Apache RocketMQ cpp client
https://rocketmq.apache.org/
Apache License 2.0
364 stars 158 forks source link

param “mq” is read only,pass by reference instead of value #421

Closed SRC-xiaojin closed 2 years ago

SRC-xiaojin commented 2 years ago

(cherry picked from commit 57b584103a30ba1386560b8e54d209975ec7b055)

What is the purpose of the change

optimize function call

Brief changelog

param “mq” is read only,pass by reference instead of value

Verifying this change

compile successful

Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.