refactor const std::shared_ptr<T>
to std::shared_ptr<const T>
#1293
Labels
const std::shared_ptr<T>
to std::shared_ptr<const T>
#1293
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_
The text was updated successfully, but these errors were encountered: