From b751188e5607055ecdc8b5901b3c2ec3de949563 Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 3 Apr 2002 02:34:20 +0000 Subject: [PATCH] string == "" -> string.empty() conversion. --- simgear/timing/sg_time.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simgear/timing/sg_time.cxx b/simgear/timing/sg_time.cxx index d2823b77..e38fbff8 100644 --- a/simgear/timing/sg_time.cxx +++ b/simgear/timing/sg_time.cxx @@ -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: " -- 2.39.5