Skip to content

Commit

Permalink
value.hh: Shut up warning about useless const qualifier
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed May 20, 2024
1 parent 209d755 commit 927034e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libexpr/value.hh
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 927034e

Please sign in to comment.