Closed SRC-xiaojin closed 2 years ago
I think passing by value and using std::move
is better in setter function. https://abseil.io/tips/117
I think passing by value and using
std::move
is better in setter function. https://abseil.io/tips/117
Copy Elision is nice. Passing by const reference is simpler and safer, code style is also unified in this project
What is the purpose of the change
pass by reference
Brief changelog
XX
Verifying this change
XX
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
.[ISSUE #123] Fix UnknownException when host config not exist
. Each commit in the pull request should have a meaningful subject line and body.