diff --git a/simgear/sg_inlines.h b/simgear/sg_inlines.h index 5d47d594..399c4bc1 100644 --- a/simgear/sg_inlines.h +++ b/simgear/sg_inlines.h @@ -98,6 +98,6 @@ inline void SG_NORMALIZE_RANGE( T &val, const T min, const T max ) { T step = max - min; while( val >= max ) val -= step; while( val < min ) val += step; -}; +} #endif // _SG_INLINES_H diff --git a/simgear/structure/SGSmplhist.hxx b/simgear/structure/SGSmplhist.hxx index 67a9928c..d9198037 100644 --- a/simgear/structure/SGSmplhist.hxx +++ b/simgear/structure/SGSmplhist.hxx @@ -55,7 +55,7 @@ public: inline int SampleHistogram::buckets () { return (howManyBuckets); -}; +} inline double SampleHistogram::bucketThreshold (int i) {