From a202cfa4f3b4a471870a5dbc51e42798f20720e2 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 14 Apr 2003 08:16:55 +0000 Subject: [PATCH] Changed push back to a += to try and fix compile on hopeless OSX g++ version. --- src/osgPlugins/osgText/IO_Text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/osgText/IO_Text.cpp b/src/osgPlugins/osgText/IO_Text.cpp index e1c5161b7..506425d35 100644 --- a/src/osgPlugins/osgText/IO_Text.cpp +++ b/src/osgPlugins/osgText/IO_Text.cpp @@ -315,7 +315,7 @@ bool Text_writeLocalData(const osg::Object &obj, osgDB::Output &fw) itr!=textstring.end(); ++itr) { - str.push_back((char)*itr); + str += (char)(*itr); } //std::copy(textstring.begin(),textstring.end(),std::back_inserter(str));