use std::string

This commit is contained in:
Erik Hofman
2010-07-30 10:42:44 +02:00
parent 2cfeeb4b13
commit 82aa7fcbad
2 changed files with 4 additions and 4 deletions

View File

@@ -63,7 +63,7 @@ int main( int argc, char **argv ) {
cout << "# geometry groups" << endl;
cout << endl;
string material;
std::string material;
int_list vertex_index;
int_list normal_index;
int_list tex_index;

View File

@@ -196,7 +196,7 @@ public:
* @param file input file name
* @return result of read
*/
bool read_bin( const string& file );
bool read_bin( const std::string& file );
/**
* Write out the structures to a binary file. We assume that the
@@ -207,7 +207,7 @@ public:
* @param b bucket for object location
* @return result of write
*/
bool write_bin( const string& base, const string& name, const SGBucket& b );
bool write_bin( const std::string& base, const std::string& name, const SGBucket& b );
/**
* Write out the structures to an ASCII file. We assume that the
@@ -218,7 +218,7 @@ public:
* @param b bucket for object location
* @return result of write
*/
bool write_ascii( const string& base, const string& name,
bool write_ascii( const std::string& base, const std::string& name,
const SGBucket& b );
};