nsnam/ns-3-dev-git — pull request #1 by npcardoso (2014-11-18 19:35:29+00:00)
Title: Added missing const qualifier to TopologyReader::Link::Attributes{Begin,End}()

This PR fixes a problem I ran into when using AttributesBegin/End as follows:

```
TopologyReader::ConstLinksIterator iter = topoFile->LinksBegin();
for (;iter != topoFile->LinksEnd(); iter++) {

TopologyReader::Link::ConstAttributesIterator it = iter->AttributesBegin();
for(;it != iter->AttributesEnd(); it++) {
std::cout << "Key: " << it->first << " Value: "<< it->second << std::endl;
}
}
```

The resulting error was:
```
../scratch/SFL/topology.cc:60:82: error: passing ‘const ns3::TopologyReader::Link’ as ‘this’ argument of ‘ns3::TopologyReader::Link::ConstAttributesIterator ns3::TopologyReader::Link::AttributesBegin()’ discards qualifiers [-fpermissive]
TopologyReader::Link::ConstAttributesIterator it = iter->AttributesBegin();
^
../scratch/SFL/topology.cc:61:40: error: passing ‘const ns3::TopologyReader::Link’ as ‘this’ argument of ‘ns3::TopologyReader::Link::ConstAttributesIterator ns3::TopologyReader::Link::AttributesEnd()’ discards qualifiers [-fpermissive]
for(;it != iter->AttributesEnd(); it++) {
```