1
0
Fork 0

Even more std::string fixes.

This commit is contained in:
James Turner 2010-08-09 09:40:20 +01:00
parent f467ba3609
commit 025b94f099
3 changed files with 4 additions and 4 deletions

View file

@ -45,7 +45,7 @@ FGButton::~FGButton ()
}
void FGButton::init( const SGPropertyNode * node, const string name, string & module )
void FGButton::init( const SGPropertyNode * node, const std::string name, std::string & module )
{
if (node == 0) {
SG_LOG(SG_INPUT, SG_DEBUG, "No bindings for button " << name);

View file

@ -32,7 +32,7 @@ class FGButton : public FGCommonInput {
public:
FGButton();
virtual ~FGButton();
void init( const SGPropertyNode * node, const string name, string & module );
void init( const SGPropertyNode * node, const std::string name, std::string & module );
void update( int modifiers, bool pressed, int x = -1, int y = -1);
bool is_repeatable;
float interval_sec;

View file

@ -39,14 +39,14 @@
class FGCommonInput {
public:
typedef vector<SGSharedPtr<SGBinding> > binding_list_t;
typedef std::vector<SGSharedPtr<SGBinding> > binding_list_t;
/*
read all "binding" nodes directly under the specified base node and fill the
vector of SGBinding supplied in binding_list. Reads all the mod-xxx bindings and
add the corresponding SGBindings.
*/
static void read_bindings (const SGPropertyNode * base, binding_list_t * binding_list, int modifiers, const string & module );
static void read_bindings (const SGPropertyNode * base, binding_list_t * binding_list, int modifiers, const std::string & module );
};
#endif