Project

General

Profile

Actions

Cleanup #1042

closed

need const iterator for bufferlist

Added by Colin McCabe about 13 years ago. Updated about 8 years ago.

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

Also available in: Atom PDF