Skip to content

Commit

Permalink
Merge pull request NixOS#10741 from edolstra/shutup-warning
Browse files Browse the repository at this point in the history
value.hh: Shut up warning about useless const qualifier
  • Loading branch information
edolstra authored May 20, 2024
2 parents 209d755 + 927034e commit b7709d1
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 b7709d1

Please sign in to comment.