* @return The property's value as a string, or the default value provided.
*/
inline const char * fgGetString (const std::string & name,
- const std::string & defaultValue = string(""))
+ const std::string & defaultValue = std::string(""))
{
return fgGetString( name.c_str(), defaultValue.c_str() );
}
*/
inline bool fgSetFloat (const std::string & name, float val)
{
- return fgSetBool( name.c_str(), val );
+ return fgSetFloat( name.c_str(), val );
}