string == "" -> string.empty() conversion.

This commit is contained in:
curt
2002-04-03 02:34:20 +00:00
parent 1ad9a15864
commit b751188e56

View File

@@ -88,7 +88,7 @@ void SGTime::init( double lon, double lat,
cout << "Current local time = "
<< asctime(localtime(&cur_time)) << endl;
if ( root != (string)"" ) {
if ( !root.empty()) {
SGPath zone( root );
zone.append( "zone.tab" );
SG_LOG( SG_EVENT, SG_INFO, "Reading timezone info from: "