- Timestamp:
- Dec 22, 2009, 2:07:44 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/libraries/core/input/InputBuffer.cc
r6177 r6394 39 39 RegisterRootObject(InputBuffer); 40 40 41 this->buffer_ = "";42 41 this->cursor_ = 0; 43 42 this->maxLength_ = 1024; … … 62 61 this->maxLength_ = 1024; 63 62 this->allowedChars_ = allowedChars; 64 this->buffer_ = "";65 63 this->cursor_ = 0; 66 64 … … 138 136 void InputBuffer::clear(bool update) 139 137 { 140 this->buffer_ = "";138 this->buffer_.clear(); 141 139 this->cursor_ = 0; 142 140 … … 188 186 bool InputBuffer::charIsAllowed(const char& input) 189 187 { 190 if (this->allowedChars_ == "")188 if (this->allowedChars_.empty()) 191 189 return true; 192 190 else
Note: See TracChangeset
for help on using the changeset viewer.