Changes in src/Common/UniqueName.cc [843054c2:5f2f2d7]
- File:
-
- 1 edited
-
src/Common/UniqueName.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Common/UniqueName.cc
r843054c2 r5f2f2d7 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue May 19 07:23:41201513 // Update Count : 112 // Last Modified On : Mon Jun 8 14:47:49 2015 13 // Update Count : 3 14 14 // 15 15 16 16 #include <string> 17 #include <s trstream>17 #include <sstream> 18 18 19 19 #include "UniqueName.h" … … 23 23 24 24 std::string UniqueName::newName( const std::string &additional ) { 25 std::ostr stream os;25 std::ostringstream os; 26 26 os << base << additional << count++; 27 return std::string( os.str(), os.pcount());27 return os.str(); 28 28 } 29 29
Note:
See TracChangeset
for help on using the changeset viewer.