Added std:: infront of string refrences to solve compile problems under gcc 3.0.3.

Also converted to unix file endings so other the windows style files.
This commit is contained in:
Robert Osfield
2002-02-09 19:46:44 +00:00
parent c999dfb154
commit 88b6691369
5 changed files with 624 additions and 624 deletions

View File

@@ -28,11 +28,11 @@ public:
{
};
Node* readNode(const string &filename)
Node* readNode(const std::string &filename)
{
Group* ret = 0;
// search the SGL data path
string foundname = osgDB::findFile(filename.c_str());
std::string foundname = osgDB::findFile(filename.c_str());
if( !foundname.empty())
{
if (archive.OpenFile(foundname))
@@ -65,7 +65,7 @@ public:
return ret;
};
Object* readObject(const string &filename)
Object* readObject(const std::string &filename)
{
return readNode(filename);
};