mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-66 Removed a static memory leak
X-SVN-Rev: 3649
This commit is contained in:
parent
a06988ae1c
commit
5fc03fe875
1 changed files with 4 additions and 2 deletions
|
@ -52,11 +52,13 @@ char TimeZone::fgClassID = 0; // Value is irrelevant
|
|||
|
||||
TimeZone* TimeZone::fgDefaultZone = NULL;
|
||||
|
||||
const UnicodeString TimeZone::GMT_ID = UNICODE_STRING("GMT", 3);
|
||||
static const UnicodeString _internalTimeZoneGMT_ID = UNICODE_STRING("GMT", 3);
|
||||
const UnicodeString TimeZone::GMT_ID = ::_internalTimeZoneGMT_ID;
|
||||
const int32_t TimeZone::GMT_ID_LENGTH = 3;
|
||||
const UnicodeString TimeZone::CUSTOM_ID = UNICODE_STRING("Custom", 6);
|
||||
|
||||
const TimeZone* TimeZone::GMT = new SimpleTimeZone(0, GMT_ID);
|
||||
static const SimpleTimeZone _internalTimeZoneGMT(0, ::_internalTimeZoneGMT_ID);
|
||||
const TimeZone* TimeZone::GMT = &::_internalTimeZoneGMT;
|
||||
|
||||
// See header file for documentation of the following
|
||||
const TZHeader * TimeZone::DATA = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue