Skip to content

Commit

Permalink
common/buffer.cc: prefer ++operators for non-primitive types
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Al-Gaaf <[email protected]>
  • Loading branch information
dalgaaf committed Apr 26, 2018
1 parent 22cc1fd commit 6ac89ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/buffer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1843,7 +1843,7 @@ using namespace ceph;
{
// steal the other guy's buffers
for (std::list<buffer::ptr>::const_iterator i = bl.buffers().begin();
i != bl.buffers().end(); i++) {
i != bl.buffers().end(); ++i) {
append(*i, 0, i->length());
}
bl.clear();
Expand Down

0 comments on commit 6ac89ca

Please sign in to comment.