]> git.mxchange.org Git - simgear.git/blobdiff - simgear/structure/SGSmplhist.cxx
Revert "Use simgear internal stuff for the singleton class."
[simgear.git] / simgear / structure / SGSmplhist.cxx
index 73b3f5532e1f903aec9d96df738e800d52496b59..760704b384d52d78d7d36b0c7389bc6a1e8d251a 100644 (file)
@@ -15,9 +15,11 @@ You should have received a copy of the GNU Library General Public
 License along with this library; if not, write to the Free Software
 Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */
-#ifdef __GNUG__
-#pragma implementation
+
+#ifdef HAVE_CONFIG_H
+#include <simgear_config.h>
 #endif
+
 #include <iostream>
 #include <fstream>
 #include "SGSmplhist.hxx"
@@ -94,7 +96,7 @@ int SampleHistogram::similarSamples (double d)
   return (0);
 }
 
-void SampleHistogram::printBuckets (ostream & s)
+void SampleHistogram::printBuckets (std::ostream & s)
 {
   for (int i = 0; i < howManyBuckets; i++)
     {