diff options
author | Anatol Belski <ab@php.net> | 2018-02-15 21:30:16 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2018-02-15 21:30:16 +0100 |
commit | 646dad6160869d06ff6c9af1b0dd5e30f37bb019 (patch) | |
tree | 1b3753870037204f8cc8b867c674d8264aca5fdc /ext/intl/calendar | |
parent | 9258be351ff90bbea011370548011292fa93bc88 (diff) | |
download | php-git-646dad6160869d06ff6c9af1b0dd5e30f37bb019.tar.gz |
Use explicit for more type safety
Diffstat (limited to 'ext/intl/calendar')
-rw-r--r-- | ext/intl/calendar/calendar_methods.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/calendar/calendar_methods.cpp b/ext/intl/calendar/calendar_methods.cpp index 8ed3da23a9..8183ab175c 100644 --- a/ext/intl/calendar/calendar_methods.cpp +++ b/ext/intl/calendar/calendar_methods.cpp @@ -91,7 +91,7 @@ U_CFUNC PHP_FUNCTION(intlcal_create_instance) class BugStringCharEnumeration : public StringEnumeration { public: - BugStringCharEnumeration(UEnumeration* _uenum) : uenum(_uenum) {} + explicit BugStringCharEnumeration(UEnumeration* _uenum) : uenum(_uenum) {} ~BugStringCharEnumeration() { |