Changeset 11071 for code/trunk/src/orxonox/chat/ChatHistory.cc
- Timestamp:
- Jan 17, 2016, 10:29:21 PM (8 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/chat/ChatHistory.cc
r10624 r11071 30 30 #include "core/singleton/ScopedSingletonIncludes.h" 31 31 #include "core/ConfigurablePaths.h" 32 #include "core/CoreIncludes.h" 32 33 33 34 #ifndef CHATTEST … … 159 160 void ChatHistory::debug_printhist() 160 161 { 161 /* create deque iterator */162 std::deque<std::string>::iterator it;163 164 162 /* output all the strings */ 165 for( it = this->hist_buffer.begin(); it != this->hist_buffer.end(); 166 ++it ) 167 orxout(debug_output) << *it << endl; 163 for( const std::string& hist : this->hist_buffer ) 164 orxout(debug_output) << hist << endl; 168 165 169 166 /* output size */
Note: See TracChangeset
for help on using the changeset viewer.