Updates to Text for Sun Forte compilers.

This commit is contained in:
Robert Osfield
2003-03-05 09:08:11 +00:00
parent 424fad7234
commit 7b6eaa72f2
5 changed files with 69 additions and 65 deletions

View File

@@ -114,7 +114,8 @@ bool Text_writeLocalData(const osg::Object &obj, osgDB::Output &fw)
}
if (isACString)
{
std::string str(textstring.begin(),textstring.end());
std::string str;
std::copy(textstring.begin(),textstring.end(),std::back_inserter(str));
fw.indent() << "text " << fw.wrapString(str) << std::endl;
}
else