diff options
author | Sage Weil <sage.weil@dreamhost.com> | 2012-04-09 11:26:34 -0700 |
---|---|---|
committer | Sage Weil <sage.weil@dreamhost.com> | 2012-04-09 12:08:19 -0700 |
commit | 36d42deab8746245cc9900e5cf1cce9a9aceb43d (patch) | |
tree | 2a9333a9437597e2fb590f8504760bb3d1b2213f /src/include | |
parent | 7951d7e4421b35849a7ca30d11c4c0e200a6ebf5 (diff) | |
download | ceph-36d42deab8746245cc9900e5cf1cce9a9aceb43d.tar.gz |
buffer: allow advance() to move an iterator backward
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/buffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/buffer.h b/src/include/buffer.h index 65c101f6f96..2ba138f579c 100644 --- a/src/include/buffer.h +++ b/src/include/buffer.h @@ -270,7 +270,7 @@ public: //return off == bl->length(); } - void advance(unsigned o); + void advance(int o); void seek(unsigned o); char operator*(); iterator& operator++(); |