More SGTime tidying.

This commit is contained in:
curt
2000-07-07 18:28:36 +00:00
parent a4d60e7bd6
commit d48b3f1e9a
2 changed files with 5 additions and 5 deletions

View File

@@ -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;

View File

@@ -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 -:)