Changeset 2750 for trunk/gsdl/src/recpt/userdb.cpp
- Timestamp:
- 2001-09-24T16:46:17+12:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/userdb.cpp
r1402 r2750 233 233 } 234 234 235 // removes spaces from user groups 236 text_t format_user_groups(const text_t user_groups){ 237 238 text_t new_groups = ""; 239 text_t::const_iterator here = user_groups.begin(); 240 text_t::const_iterator end = user_groups.end(); 241 while (here != end) { 242 if (*here != ' '&& *here != '\t' && *here != '\n') { 243 new_groups.push_back(*here); 244 } 245 here++; 246 } 247 return new_groups; 248 } 235 249 236 250 // functions dealing with databases of temporary keys
Note:
See TracChangeset
for help on using the changeset viewer.