Reference::ToString should be const (#5118)

This commit is contained in:
cor3ntin 2019-01-14 18:39:58 +01:00 committed by Wouter van Oortmerssen
parent 4fa4d36706
commit 7c94ff6c30
1 changed files with 1 additions and 1 deletions

View File

@ -494,7 +494,7 @@ class Reference {
}
// Unlike AsString(), this will convert any type to a std::string.
std::string ToString() {
std::string ToString() const {
std::string s;
ToString(false, false, s);
return s;