Merge pull request #10741 from edolstra/shutup-warning

value.hh: Shut up warning about useless const qualifier
This commit is contained in:
Eelco Dolstra 2024-05-20 10:48:28 +02:00 committed by GitHub
commit b7709d14a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -449,7 +449,7 @@ public:
return std::string_view(payload.string.c_str); return std::string_view(payload.string.c_str);
} }
const char * const c_str() const const char * c_str() const
{ {
assert(internalType == tString); assert(internalType == tString);
return payload.string.c_str; return payload.string.c_str;