forked from BigfootDev/flatbuffers
Reference::ToString should be const (#5118)
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
4fa4d36706
commit
7c94ff6c30
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user