Silly way to clear stringstream on GCC

This commit is contained in:
Siana Gearz
2011-12-01 17:41:50 +01:00
parent 66f4c170cb
commit cd67046b33

View File

@@ -774,7 +774,8 @@ GLhandleARB LLShaderMgr::loadShaderFile(const std::string& filename, S32 & shade
{ //dump every 128 lines
LL_WARNS("ShaderLoading") << "\n" << ostr.str() << llendl;
ostr = std::stringstream();
ostr.str("");
ostr.clear();
}
}