Skip to content

Commit

Permalink
Suppress a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Jan 5, 2022
1 parent 98cbb6a commit dbbd711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/format.h
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ FMT_CONSTEXPR inline auto utf8_decode(const char* s, uint32_t* c, int* e)
return next;
}

enum { invalid_code_point = ~uint32_t() };
constexpr uint32_t invalid_code_point = ~uint32_t();

// Invokes f(cp, sv) for every code point cp in s with sv being the string view
// corresponding to the code point. cp is invalid_code_point on error.
Expand Down

0 comments on commit dbbd711

Please sign in to comment.