From 81c0ad826190b3cdd6c217bea5384f028e60b875 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 12 Jan 2012 17:50:44 -0800 Subject: [PATCH] librados: make new ObjectReadOperations arguments non-optional Signed-off-by: Sage Weil --- src/include/rados/librados.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/include/rados/librados.hpp b/src/include/rados/librados.hpp index ca0868e851ca0..830838efe7508 100644 --- a/src/include/rados/librados.hpp +++ b/src/include/rados/librados.hpp @@ -186,10 +186,10 @@ namespace librados ObjectReadOperation() {} ~ObjectReadOperation() {} - void stat(uint64_t *psize = NULL, int *prval = NULL); - void getxattr(const char *name, bufferlist *pbl = NULL, int *prval = NULL); - void getxattrs(std::map *pattrs = NULL, int *prval = NULL); - void read(size_t off, uint64_t len, bufferlist *pbl = NULL, int *prval = NULL); + void stat(uint64_t *psize, int *prval); + void getxattr(const char *name, bufferlist *pbl, int *prval); + void getxattrs(std::map *pattrs, int *prval); + void read(size_t off, uint64_t len, bufferlist *pbl, int *prval); }; -- 2.39.5