]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/cls/hello/cls_hello.cc
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / cls / hello / cls_hello.cc
index 030c775bfe0fc91e2fa759802db39acd2ef06d7f..accca89843e621331c51dec6a872f8c36320cdd1 100644 (file)
@@ -252,10 +252,10 @@ static int bad_writer(cls_method_context_t hctx, bufferlist *in, bufferlist *out
 class PGLSHelloFilter : public PGLSFilter {
   string val;
 public:
-  int init(bufferlist::iterator& params) override {
+  int init(bufferlist::const_iterator& params) override {
     try {
-      ::decode(xattr, params);
-      ::decode(val, params);
+      decode(xattr, params);
+      decode(val, params);
     } catch (buffer::error &e) {
       return -EINVAL;
     }