Fix 'using std::' abuses
This commit is contained in:
parent
3e03f879a7
commit
19360a8425
6 changed files with 7 additions and 8 deletions
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
#include "awynet.hxx"
|
||||
|
||||
using std::sort;
|
||||
|
||||
using std::string;
|
||||
using std::cerr;
|
||||
using std::endl;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue