- Timestamp:
- Dec 2, 2015, 11:22:03 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/NamespaceNode.cc
r10821 r10916 103 103 bool bFoundMatchingNamespace = false; 104 104 105 for (auto & elem: this->subnodes_)105 for (auto& mapEntry : this->subnodes_) 106 106 { 107 if ( elem.first.find(firstPart) == (elem.first.size() - firstPart.size()))107 if (mapEntry.first.find(firstPart) == (mapEntry.first.size() - firstPart.size())) 108 108 { 109 std::set<NamespaceNode*> temp2 = elem.second->getNodeRelative(secondPart);109 std::set<NamespaceNode*> temp2 = mapEntry.second->getNodeRelative(secondPart); 110 110 nodes.insert(temp2.begin(), temp2.end()); 111 111 bFoundMatchingNamespace = true; … … 132 132 else 133 133 { 134 for (const auto & elem: this->subnodes_)135 if ( elem.second->includes(ns))134 for (const auto& mapEntry : this->subnodes_) 135 if (mapEntry.second->includes(ns)) 136 136 return true; 137 137 } … … 167 167 std::string output = (indentation + this->name_ + '\n'); 168 168 169 for (const auto & elem: this->subnodes_)170 output += elem.second->toString(indentation + " ");169 for (const auto& mapEntry : this->subnodes_) 170 output += mapEntry.second->toString(indentation + " "); 171 171 172 172 return output;
Note: See TracChangeset
for help on using the changeset viewer.