From 82aa7fcbad7f876fb54db35527f8338505b1ae95 Mon Sep 17 00:00:00 2001 From: Erik Hofman Date: Fri, 30 Jul 2010 10:42:44 +0200 Subject: [PATCH] use std::string --- simgear/io/decode_binobj.cxx | 2 +- simgear/io/sg_binobj.hxx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/simgear/io/decode_binobj.cxx b/simgear/io/decode_binobj.cxx index 302648bd..8560a855 100644 --- a/simgear/io/decode_binobj.cxx +++ b/simgear/io/decode_binobj.cxx @@ -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; diff --git a/simgear/io/sg_binobj.hxx b/simgear/io/sg_binobj.hxx index 13a826bc..83194725 100644 --- a/simgear/io/sg_binobj.hxx +++ b/simgear/io/sg_binobj.hxx @@ -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 ); }; -- 2.39.5