namespace PT renamed to pt
This commit is contained in:
@@ -127,7 +127,7 @@ void TimeZones::ParseZones()
|
||||
{
|
||||
for(size_t i=0 ; i<temp_space.child_spaces->size() ; ++i)
|
||||
{
|
||||
PT::Space & zone = *((*temp_space.child_spaces)[i]);
|
||||
pt::Space & zone = *((*temp_space.child_spaces)[i]);
|
||||
temp_zone.Clear();
|
||||
|
||||
if( temp_zone.SetTz(zone) )
|
||||
@@ -171,27 +171,27 @@ bool TimeZones::ReadTimeZones(const wchar_t * path)
|
||||
zone_tab.clear();
|
||||
temp_space.clear();
|
||||
|
||||
PT::SpaceParser::Status status = parser.ParseSpaceFile(path);
|
||||
pt::SpaceParser::Status status = parser.ParseSpaceFile(path);
|
||||
|
||||
if( status == PT::SpaceParser::ok )
|
||||
if( status == pt::SpaceParser::ok )
|
||||
{
|
||||
ParseZones();
|
||||
log << log2 << "Tz: time zones loaded, there are " << zone_tab.size() << " zones" << logend;
|
||||
}
|
||||
else
|
||||
if( status == PT::SpaceParser::syntax_error )
|
||||
if( status == pt::SpaceParser::syntax_error )
|
||||
{
|
||||
log << log1 << "TZ: error in time zone file, line: " << parser.get_last_parsed_line() << logend;
|
||||
}
|
||||
else
|
||||
if( status == PT::SpaceParser::cant_open_file )
|
||||
if( status == pt::SpaceParser::cant_open_file )
|
||||
{
|
||||
log << log1 << "TZ: I cannot open the time zone file: " << path << logend;
|
||||
}
|
||||
|
||||
temp_space.clear();
|
||||
|
||||
return status == PT::SpaceParser::ok;
|
||||
return status == pt::SpaceParser::ok;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user