From 927034e7acd3dd993c5cea189922f5d8050a65fe Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 20 May 2024 10:25:04 +0200 Subject: [PATCH] value.hh: Shut up warning about useless const qualifier --- src/libexpr/value.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libexpr/value.hh b/src/libexpr/value.hh index 61cf2d31064..208cab21d60 100644 --- a/src/libexpr/value.hh +++ b/src/libexpr/value.hh @@ -449,7 +449,7 @@ public: return std::string_view(payload.string.c_str); } - const char * const c_str() const + const char * c_str() const { assert(internalType == tString); return payload.string.c_str;