torwig commented on code in PR #1219:
URL:
https://github.com/apache/incubator-kvrocks/pull/1219#discussion_r1064005199
##########
src/config/config.h:
##########
@@ -194,6 +194,7 @@ struct Config {
mutable std::mutex backup_mu_;
public:
+ const std::string NodesFilePath();
Review Comment:
Did you mean `std::string NodesFilePath() const;`? Because, in my opinion,
it makes no sense to return std::string by value and apply const-modifier to
that value.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]