From: curt Date: Fri, 7 Jul 2000 18:28:36 +0000 (+0000) Subject: More SGTime tidying. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d48b3f1e9afb3bc8bd14a3fe829327c5ba3e817e;p=simgear.git More SGTime tidying. --- diff --git a/simgear/timing/sg_time.cxx b/simgear/timing/sg_time.cxx index 3fca4a8b..2e19401e 100644 --- a/simgear/timing/sg_time.cxx +++ b/simgear/timing/sg_time.cxx @@ -64,13 +64,13 @@ SGTime::SGTime( const string& root ) { - if (cur_time_params) { + /* if (cur_time_params) { FG_LOG( FG_GENERAL, FG_ALERT, "Error: only one instance of SGTime allowed" ); exit(-1); - } + } */ - cur_time_params = this; + // cur_time_params = this; FGPath zone( root ); zone.append( "Timezone" ); @@ -475,4 +475,4 @@ char* SGTime::format_time( const struct tm* p, char* buf ) } -SGTime* SGTime::cur_time_params = 0; +// SGTime* SGTime::cur_time_params = 0; diff --git a/simgear/timing/sg_time.hxx b/simgear/timing/sg_time.hxx index 8acd4293..488937f2 100644 --- a/simgear/timing/sg_time.hxx +++ b/simgear/timing/sg_time.hxx @@ -131,7 +131,7 @@ public: void utc_gst(); double sidereal_precise (double lng); double sidereal_course(double lng); - static SGTime *cur_time_params; + // static SGTime *cur_time_params; // Some other stuff which were changed to SGTime members on // questionable grounds -:)