1
0
Fork 0

Fix 'using std::' abuses

This commit is contained in:
James Turner 2010-08-09 08:36:20 +01:00
parent 3e03f879a7
commit 19360a8425
6 changed files with 7 additions and 8 deletions

View file

@ -161,7 +161,7 @@ private:
bool _needsRelayout;
// Nasal module.
string _module;
std::string _module;
SGPropertyNode_ptr _nasal_close;
// PUI provides no way for userdata to be deleted automatically
@ -173,7 +173,7 @@ private:
PropertyObject (const char * name,
puObject * object,
SGPropertyNode_ptr node);
string name;
std::string name;
puObject * object;
SGPropertyNode_ptr node;
};

View file

@ -33,9 +33,8 @@
#include <simgear/misc/sg_path.hxx>
#include <map>
using std::map;
class FGDeviceConfigurationMap : public map<string,SGPropertyNode_ptr> {
class FGDeviceConfigurationMap : public std::map<std::string,SGPropertyNode_ptr> {
public:
FGDeviceConfigurationMap ( const char * relative_path, SGPropertyNode_ptr base, const char * childname );
virtual ~FGDeviceConfigurationMap();

View file

@ -28,7 +28,7 @@ using namespace simgear;
////////////////////////////////////////////////////////////////////////
osg::Node *
fgLoad3DModelPanel(const string &path, SGPropertyNode *prop_root)
fgLoad3DModelPanel(const std::string &path, SGPropertyNode *prop_root)
{
osg::Node* node = SGModelLib::loadModel(path, prop_root);
if (node)

View file

@ -45,7 +45,7 @@ class FGLocation;
* Subsystems should not normally invoke this function directly;
* instead, they should use the SGModelLoader declared in loader.hxx.
*/
osg::Node *fgLoad3DModelPanel( const string &path, SGPropertyNode *prop_root);
osg::Node *fgLoad3DModelPanel( const std::string &path, SGPropertyNode *prop_root);
#endif // __MODEL_HXX

View file

@ -37,7 +37,7 @@
#include "awynet.hxx"
using std::sort;
using std::string;
using std::cerr;
using std::endl;

View file

@ -66,7 +66,7 @@ bool FGFixList::init(const SGPath& path ) {
// read in each remaining line of the file
while ( ! in.eof() ) {
double lat, lon;
string ident;
std::string ident;
in >> lat >> lon >> ident;
if (lat > 95) break;