1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-04 03:01:47 +02:00

Drop parentheses from thunks

This commit is contained in:
Jacek Galowicz 2023-11-02 15:50:00 +01:00
parent 1885d579db
commit c924147c9d
4 changed files with 10 additions and 10 deletions

View file

@ -183,7 +183,7 @@ std::string base64Encode(std::string_view s)
std::string base64Decode(std::string_view s)
{
constexpr char npos = -1;
constexpr std::array<char, 256> base64DecodeChars = [&]() {
constexpr std::array<char, 256> base64DecodeChars = [&] {
std::array<char, 256> result{};
for (auto& c : result)
c = npos;