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