string == "" -> string.empty() conversion.
This commit is contained in:
@@ -88,7 +88,7 @@ void SGTime::init( double lon, double lat,
|
|||||||
cout << "Current local time = "
|
cout << "Current local time = "
|
||||||
<< asctime(localtime(&cur_time)) << endl;
|
<< asctime(localtime(&cur_time)) << endl;
|
||||||
|
|
||||||
if ( root != (string)"" ) {
|
if ( !root.empty()) {
|
||||||
SGPath zone( root );
|
SGPath zone( root );
|
||||||
zone.append( "zone.tab" );
|
zone.append( "zone.tab" );
|
||||||
SG_LOG( SG_EVENT, SG_INFO, "Reading timezone info from: "
|
SG_LOG( SG_EVENT, SG_INFO, "Reading timezone info from: "
|
||||||
|
|||||||
Reference in New Issue
Block a user