]> git.mxchange.org Git - simgear.git/commitdiff
string == "" -> string.empty() conversion.
authorcurt <curt>
Wed, 3 Apr 2002 02:34:20 +0000 (02:34 +0000)
committercurt <curt>
Wed, 3 Apr 2002 02:34:20 +0000 (02:34 +0000)
simgear/timing/sg_time.cxx

index d2823b7794a9738efe26349a900fc11d154dc2e7..e38fbff8f39418910f178dd781bfb027e002e82c 100644 (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: "