Changeset 11071 for code/trunk/src/libraries/core/command/TclThreadList.h
- Timestamp:
- Jan 17, 2016, 10:29:21 PM (9 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/libraries/core/command/TclThreadList.h
r7401 r11071 262 262 boost::shared_lock<boost::shared_mutex> lock(this->mutex_); 263 263 264 for ( typename std::list<T>::const_iterator it = this->list_.begin(); it != this->list_.end(); ++it)265 if ( *it == value)264 for (const T& element : this->list_) 265 if (element == value) 266 266 return true; 267 267
Note: See TracChangeset
for help on using the changeset viewer.