Changeset 35128 in vbox for trunk/src/VBox/Runtime/common/string
- Timestamp:
- Dec 15, 2010 12:38:41 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 68965
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/string/ministring.cpp
r33605 r35128 212 212 213 213 return npos; 214 } 215 216 void MiniString::findReplace(char cFind, char cReplace) 217 { 218 for (size_t i = 0; i < length(); ++i) 219 { 220 char *p = &m_psz[i]; 221 if (*p == cFind) 222 *p = cReplace; 223 } 214 224 } 215 225
Note:
See TracChangeset
for help on using the changeset viewer.