- Timestamp:
- 1999-09-01T10:39:28+12:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/colservr/maptools.cpp
r194 r494 12 12 /* 13 13 $Log$ 14 Revision 1.2 1999/08/31 22:39:28 rjmcnab 15 Changes for AIX. 16 14 17 Revision 1.1 1999/03/09 20:53:13 rjmcnab 15 18 Moved from src/recpt. … … 136 139 137 140 138 void splitmapentry (const text_t &map , text_t &from, text_t &to) {141 void splitmapentry (const text_t &mapentry, text_t &from, text_t &to) { 139 142 from.clear (); 140 143 to.clear(); 141 144 142 text_t::const_iterator here = map .begin();143 text_t::const_iterator end = map .end();145 text_t::const_iterator here = mapentry.begin(); 146 text_t::const_iterator end = mapentry.end(); 144 147 145 148 // get the "from" part of the map … … 168 171 } 169 172 170 void joinmapentry (const text_t &from, const text_t &to, text_t &map ) {171 map = from;172 map += "->";173 map += to;173 void joinmapentry (const text_t &from, const text_t &to, text_t &mapentry) { 174 mapentry = from; 175 mapentry += "->"; 176 mapentry += to; 174 177 }
Note:
See TracChangeset
for help on using the changeset viewer.