Actions
Cleanup #1042
closedneed const iterator for bufferlist
Status:
Resolved
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
There should be a bufferlist::const_iterator to match bufferlist::iterator.
The fact that we don't have this makes it much harder to be const-correct. In particular, decode() functions don't alter the bufferlist they're decoding, so they should be operating on const_iterator.
Actions