]> git.mxchange.org Git - flightgear.git/commitdiff
Work-around a clang glitch with 10.6
authorJames Turner <zakalawe@mac.com>
Sun, 10 Feb 2013 11:53:42 +0000 (11:53 +0000)
committerJames Turner <zakalawe@mac.com>
Sun, 10 Feb 2013 11:53:42 +0000 (11:53 +0000)
src/Aircraft/FlightHistory.hxx

index c5d3aa33bc55989e9a0363fadddac6380a7fd8ec..f4e0e8d036e75d788057d499212e773839ddbe1b 100644 (file)
@@ -32,6 +32,8 @@
 
 typedef std::vector<SGGeod> SGGeodVec;
 
+const unsigned int SAMPLE_BUCKET_WIDTH = 1024;
+
 /**
  * record the history of the aircraft's movements, making it available
  * as a contiguous block. This can be used to show the historical flight-path
@@ -69,7 +71,7 @@ private:
         int simTimeMSec;
     };
     
-    static const unsigned int SAMPLE_BUCKET_WIDTH = 1024;
+    
     
     /**
      * Bucket is a fixed-size container of samples. This is a crude slab