Project

General

Profile

Actions

Cleanup #1042

closed

need const iterator for bufferlist

Added by Colin McCabe almost 13 years ago. Updated almost 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 #1

Updated by Sage Weil over 12 years ago

  • Tracker changed from Bug to Cleanup
Actions #4

Updated by Sage Weil almost 8 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF