Avoid "using..." in header files.
This commit is contained in:
parent
5fb6614c23
commit
5f1435b4fd
3 changed files with 4 additions and 3 deletions
src
|
@ -34,6 +34,7 @@
|
||||||
using simgear::PropertyList;
|
using simgear::PropertyList;
|
||||||
using std::cout;
|
using std::cout;
|
||||||
using std::endl;
|
using std::endl;
|
||||||
|
using std::map;
|
||||||
|
|
||||||
FGEventSetting::FGEventSetting( SGPropertyNode_ptr base ) :
|
FGEventSetting::FGEventSetting( SGPropertyNode_ptr base ) :
|
||||||
value(0.0)
|
value(0.0)
|
||||||
|
|
|
@ -34,9 +34,10 @@
|
||||||
#include <Navaids/navlist.hxx>
|
#include <Navaids/navlist.hxx>
|
||||||
#include <Navaids/procedure.hxx>
|
#include <Navaids/procedure.hxx>
|
||||||
|
|
||||||
|
|
||||||
#include "NasalSys.hxx"
|
#include "NasalSys.hxx"
|
||||||
|
|
||||||
|
using std::map;
|
||||||
|
|
||||||
static FGNasalSys* nasalSys = 0;
|
static FGNasalSys* nasalSys = 0;
|
||||||
|
|
||||||
// Listener class for loading Nasal modules on demand
|
// Listener class for loading Nasal modules on demand
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
#include <simgear/threads/SGQueue.hxx>
|
#include <simgear/threads/SGQueue.hxx>
|
||||||
|
|
||||||
#include <map>
|
#include <map>
|
||||||
using std::map;
|
|
||||||
|
|
||||||
|
|
||||||
class FGNasalScript;
|
class FGNasalScript;
|
||||||
|
@ -139,7 +138,7 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
// Listener
|
// Listener
|
||||||
map<int, FGNasalListener *> _listener;
|
std::map<int, FGNasalListener *> _listener;
|
||||||
vector<FGNasalListener *> _dead_listener;
|
vector<FGNasalListener *> _dead_listener;
|
||||||
static int _listenerId;
|
static int _listenerId;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue