mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
intl extension couple of micro optimisations for error edge cases. (#10044)
making c++ compile time few enums ranges.
This commit is contained in:
parent
9788244a42
commit
690db97c6d
10 changed files with 32 additions and 32 deletions
|
@ -37,7 +37,7 @@ using icu::GregorianCalendar;
|
|||
using icu::StringPiece;
|
||||
using icu::SimpleDateFormat;
|
||||
|
||||
static const DateFormat::EStyle valid_styles[] = {
|
||||
static constexpr DateFormat::EStyle valid_styles[] = {
|
||||
DateFormat::kNone,
|
||||
DateFormat::kFull,
|
||||
DateFormat::kLong,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue