- Timestamp:
- Jan 10, 2016, 1:54:11 PM (8 years ago)
- Location:
- code/branches/cpp11_v3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v3
- Property svn:mergeinfo changed
-
code/branches/cpp11_v3/src/libraries/util/output/BaseWriter.cc
r8858 r11054 47 47 this->configurableMaxLevel_ = level::none; 48 48 this->configurableAdditionalContextsMaxLevel_ = level::verbose; 49 this->configurableAdditionalContexts_. push_back("example");49 this->configurableAdditionalContexts_.emplace_back("example"); 50 50 51 51 this->changedConfigurableLevel(); … … 116 116 117 117 // iterate over all strings in the config-vector 118 for ( size_t i = 0; i < this->configurableAdditionalContexts_.size(); ++i)118 for (const std::string& full_name : this->configurableAdditionalContexts_) 119 119 { 120 const std::string& full_name = this->configurableAdditionalContexts_[i];121 122 120 // split the name into main-name and sub-name (if given; otherwise sub-name remains empty). both names are separated by :: 123 121 std::string name = full_name;
Note: See TracChangeset
for help on using the changeset viewer.