- Timestamp:
- Dec 2, 2015, 11:22:03 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/util/output/OutputManager.cc
r10829 r10916 131 131 vectorize(message, '\n', &lines); 132 132 133 for ( auto & elem: this->listeners_)134 elem->unfilteredOutput(level, context, lines);133 for (OutputListener* listener : this->listeners_) 134 listener->unfilteredOutput(level, context, lines); 135 135 } 136 136 … … 178 178 { 179 179 int mask = 0; 180 for ( auto & elem: this->listeners_)181 mask |= elem->getLevelMask();180 for (OutputListener* listener : this->listeners_) 181 mask |= listener->getLevelMask(); 182 182 this->combinedLevelMask_ = static_cast<OutputLevel>(mask); 183 183 } … … 189 189 { 190 190 int mask = 0; 191 for ( auto & elem: this->listeners_)192 mask |= elem->getAdditionalContextsLevelMask();191 for (OutputListener* listener : this->listeners_) 192 mask |= listener->getAdditionalContextsLevelMask(); 193 193 this->combinedAdditionalContextsLevelMask_ = static_cast<OutputLevel>(mask); 194 194 } … … 200 200 { 201 201 this->combinedAdditionalContextsMask_ = 0; 202 for ( auto & elem: this->listeners_)203 this->combinedAdditionalContextsMask_ |= elem->getAdditionalContextsMask();202 for (OutputListener* listener : this->listeners_) 203 this->combinedAdditionalContextsMask_ |= listener->getAdditionalContextsMask(); 204 204 } 205 205
Note: See TracChangeset
for help on using the changeset viewer.