Commit 7c94ff6c authored by cor3ntin's avatar cor3ntin Committed by Wouter van Oortmerssen

Reference::ToString should be const (#5118)

parent 4fa4d367
...@@ -494,7 +494,7 @@ class Reference { ...@@ -494,7 +494,7 @@ class Reference {
} }
// Unlike AsString(), this will convert any type to a std::string. // Unlike AsString(), this will convert any type to a std::string.
std::string ToString() { std::string ToString() const {
std::string s; std::string s;
ToString(false, false, s); ToString(false, false, s);
return s; return s;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment