Ignore:
Timestamp:
04/29/11 13:25:45 (14 years ago)
Author:
tbretz
Message:
Use stringstreams to replace Form not strings and +=
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Console.cc

    r10496 r10498  
    1313#include "Console.h"
    1414
     15#include <sstream>
    1516#include <iostream>
    1617
     
    134135    const string siz = fLogO.GetSizeStr();
    135136
    136     string rc = "[";
    137     rc += GetLine();
    138     return fContinous ? rc+']' : rc+':'+siz+']';
     137    ostringstream str;
     138    str << '[' << GetLine();
     139    return fContinous ? str.str()+']' : str.str()+':'+siz+']';
    139140}
    140141
Note: See TracChangeset for help on using the changeset viewer.