4paradigm/OpenMLDB

refactor `const std::shared_ptr<T>` to `std::shared_ptr<const T>`

Closed this issue · 2 comments

It should be the std::shared_ptr<const T>, which means the data pointed by the shared_ptr cannot be changed rather than the shared_ptr itself cannot be changed.

e.g., const std::shared_ptr<OptionsMap> options_

Can I have a try?

Can I have a try?

sure! I have assigned to you. Thanks.