Reference::ToString should be const (#5118)
This commit is contained in:
parent
4fa4d36706
commit
7c94ff6c30
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue