]> git.mxchange.org Git - simgear.git/blobdiff - simgear/structure/SGSmplhist.hxx
scenery: Use correct property root in xml loading.
[simgear.git] / simgear / structure / SGSmplhist.hxx
index d56d66930422103940d0ff53a43a5011e20c7273..d919803748b666f4e5ef915bfbf5cf5fecc8e381 100644 (file)
@@ -16,21 +16,12 @@ License along with this library; if not, write to the Free Software
 Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */
 
-#ifdef HAVE_CONFIG_H
-#include <simgear_config.h>
-#endif
 #ifndef SampleHistogram_h
-#ifdef __GNUG__
-#pragma interface
-#endif
 #define SampleHistogram_h 1
 
-#include <iostream>
-#include <fstream>
+#include <iosfwd>
 #include "SGSmplstat.hxx"
 
-using namespace std;
-
 extern const int SampleHistogramMinimum;
 extern const int SampleHistogramMaximum;
 
@@ -56,7 +47,7 @@ public:
 
   double bucketThreshold (int i);
   int inBucket (int i);
-  void printBuckets (ostream &);
+  void printBuckets (std::ostream &);
 
 };
 
@@ -64,7 +55,7 @@ public:
 inline int SampleHistogram::buckets ()
 {
   return (howManyBuckets);
-};
+}
 
 inline double SampleHistogram::bucketThreshold (int i)
 {