]> git.mxchange.org Git - flightgear.git/blobdiff - src/Input/FGJoystickInput.cxx
Remove hard-coded values wherever possible;
[flightgear.git] / src / Input / FGJoystickInput.cxx
index 516679f25136565358ccbfbde3d1ac1c0b542f8a..83e5f68a7294c91e37df5d14726a8dbf2e7b80b7 100644 (file)
 //
 // $Id$
 
+#ifdef HAVE_CONFIG_H
+#  include "config.h"
+#endif
+
 #include "FGJoystickInput.hxx"
 
 #include <simgear/props/props_io.hxx>
@@ -193,7 +197,7 @@ void FGJoystickInput::postinit()
     //
     // Initialize nasal groups.
     //
-    ostringstream str;
+    std::ostringstream str;
     str << "__js" << i;
     string module = str.str();
     nasalsys->createModule(module.c_str(), module.c_str(), "", 0);