Changeset 2560 for code/branches/presentation/src/util
- Timestamp:
- Jan 1, 2009, 3:21:28 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/util/String.cc
r2171 r2560 84 84 { 85 85 size_t pos1 = 0; 86 int pos2 = str.size() - 1;86 int pos2 = (int)(str.size() - 1); 87 87 for (; pos1 < str.size() && (str[pos1] == ' ' || str[pos1] == '\t' || str[pos1] == '\n'); pos1++); 88 88 for (; pos2 > 0 && (str[pos2] == ' ' || str[pos2] == '\t' || str[pos2] == '\n'); pos2--);
Note: See TracChangeset
for help on using the changeset viewer.