mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-02 06:55:16 +00:00
[2432] Use prefix operator++
This commit is contained in:
@@ -142,7 +142,7 @@ protected:
|
|||||||
|
|
||||||
virtual IterPtr getNext() {
|
virtual IterPtr getNext() {
|
||||||
CollectionMap::iterator it = iter_;
|
CollectionMap::iterator it = iter_;
|
||||||
it++;
|
++it;
|
||||||
return (RRsetCollectionBase::IterPtr(new DnsIter(it)));
|
return (RRsetCollectionBase::IterPtr(new DnsIter(it)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -201,7 +201,7 @@ protected:
|
|||||||
|
|
||||||
virtual IterPtr getNext() {
|
virtual IterPtr getNext() {
|
||||||
MyCollection::iterator it = iter_;
|
MyCollection::iterator it = iter_;
|
||||||
it++;
|
++it;
|
||||||
return (RRsetCollectionBase::IterPtr(new MyIter(it)));
|
return (RRsetCollectionBase::IterPtr(new MyIter(it)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user