]> git.mxchange.org Git - flightgear.git/blobdiff - src/Input/FGDeviceConfigurationMap.hxx
Fix Linux compile / math dependency
[flightgear.git] / src / Input / FGDeviceConfigurationMap.hxx
index 27a3a8a143d6904a43d6140d15361d0808cc2e29..6a6aceae3306582e11c44266287ba201ff938689 100644 (file)
 #endif
 
 #include <simgear/props/props.hxx>
-#include <simgear/misc/sg_path.hxx>
 
 #include <map>
-using std::map;
 
-class FGDeviceConfigurationMap : public map<string,SGPropertyNode_ptr> {
+class SGPath;
+
+class FGDeviceConfigurationMap : public std::map<std::string,SGPropertyNode_ptr> {
 public:
   FGDeviceConfigurationMap ( const char * relative_path, SGPropertyNode_ptr base, const char * childname );
   virtual ~FGDeviceConfigurationMap();
 private:
-  void scan_dir( SGPath & path, int *index);
+  void scan_dir(const SGPath & path, int *index);
   SGPropertyNode_ptr base;
   const char * childname;
 };