Cleaned up a few minor things

This commit is contained in:
Shyotl
2011-03-27 18:50:04 -05:00
parent 8323a701e8
commit 18af6baedd
4 changed files with 5 additions and 9 deletions

View File

@@ -639,7 +639,7 @@ protected:
* </code>
*/
template <class Formatter>
class LLSDOStreamer : public Formatter
class LLSDOStreamer
{
public:
/**
@@ -660,7 +660,8 @@ public:
std::ostream& str,
const LLSDOStreamer<Formatter>& formatter)
{
formatter.format(formatter.mSD, str, formatter.mOptions);
LLPointer<Formatter> f = new Formatter;
f->format(formatter.mSD, str, formatter.mOptions);
return str;
}