]> git.mxchange.org Git - simgear.git/blobdiff - simgear/math/interpolater.cxx
Fix #1783: repeated error message on console
[simgear.git] / simgear / math / interpolater.cxx
index 59caa2fcaa636b5ded7549d785f9e2fd1dec12fd..c594e59c4073840d767c9e72438fa8a0a4051797 100644 (file)
 //
 // $Id$
 
+#ifdef HAVE_CONFIG_H
+#  include <simgear_config.h>
+#endif
 
 #include <simgear/compiler.h>
 
-#include STL_STRING
+#include <string>
 
 #include <simgear/debug/logstream.hxx>
 #include <simgear/misc/sgstream.hxx>
@@ -33,8 +36,6 @@
 
 #include "interpolater.hxx"
 
-SG_USING_STD(string);
-
 // Constructor -- starts with an empty table.
 SGInterpTable::SGInterpTable()
 {
@@ -52,7 +53,7 @@ SGInterpTable::SGInterpTable(const SGPropertyNode* interpolation)
 
 // Constructor -- loads the interpolation table from the specified
 // file
-SGInterpTable::SGInterpTable( const string& file ) 
+SGInterpTable::SGInterpTable( const std::string& file )
 {
     SG_LOG( SG_MATH, SG_INFO, "Initializing Interpolator for " << file );