Changeset 10498 for trunk/FACT++/src/Console.cc
- Timestamp:
- 04/29/11 13:25:45 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Console.cc
r10496 r10498 13 13 #include "Console.h" 14 14 15 #include <sstream> 15 16 #include <iostream> 16 17 … … 134 135 const string siz = fLogO.GetSizeStr(); 135 136 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+']'; 139 140 } 140 141
Note:
See TracChangeset
for help on using the changeset viewer.