]> git.mxchange.org Git - simgear.git/commitdiff
More SGTime tidying.
authorcurt <curt>
Fri, 7 Jul 2000 18:28:36 +0000 (18:28 +0000)
committercurt <curt>
Fri, 7 Jul 2000 18:28:36 +0000 (18:28 +0000)
simgear/timing/sg_time.cxx
simgear/timing/sg_time.hxx

index 3fca4a8b0ef94ac893b2591e8b0cbd42ef0c3fcf..2e19401e1de0457634e802b98403f1854e771124 100644 (file)
 
 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;
index 8acd4293118a8284d63b7f4801924c91df209fae..488937f2aeaa9f494dabe296cc1c984991a2c9e6 100644 (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 -:)