Changeset 10919 for code/branches/cpp11_v2/src/orxonox/chat
- Timestamp:
- Dec 5, 2015, 10:47:51 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/orxonox/chat/ChatHistory.cc
r10818 r10919 160 160 void ChatHistory::debug_printhist() 161 161 { 162 /* create deque iterator */163 std::deque<std::string>::iterator it;164 165 162 /* output all the strings */ 166 for( it = this->hist_buffer.begin(); it != this->hist_buffer.end(); 167 ++it ) 168 orxout(debug_output) << *it << endl; 163 for( const std::string& hist : this->hist_buffer ) 164 orxout(debug_output) << hist << endl; 169 165 170 166 /* output size */
Note: See TracChangeset
for help on using the changeset viewer.