summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorSage Weil <sage.weil@dreamhost.com>2012-04-09 11:26:34 -0700
committerSage Weil <sage.weil@dreamhost.com>2012-04-09 12:08:19 -0700
commit36d42deab8746245cc9900e5cf1cce9a9aceb43d (patch)
tree2a9333a9437597e2fb590f8504760bb3d1b2213f /src/include
parent7951d7e4421b35849a7ca30d11c4c0e200a6ebf5 (diff)
downloadceph-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.h2
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++();