ceph-dovecot / dovecot-ceph-plugin

Dovecot plugin for storing mails in a Ceph cluster
Other
131 stars 23 forks source link

remove warnings #261

Closed jrse closed 1 year ago

jrse commented 5 years ago

rbox-save.cpp: In function 'void init_output_stream(mail_save_context)': rbox-save.cpp:195:116: warning: invalid conversion from 'const librmb::RadosStorage' to 'librmb::RadosStorage' [-fpermissive] o_stream_create_bufferlist(r_ctx->rados_mail, &r_ctx->rados_storage, rbox->storage->config->is_write_chunks()); ^ In file included from rbox-save.cpp:43:0: ostream-bufferlist.h:23:17: warning: initializing argument 2 of 'ostream o_stream_create_bufferlist(librmb::RadosMail, librmb::RadosStorage, bool)' [-fpermissive] struct ostream o_stream_create_bufferlist(librmb::RadosMail rados_mail, librmb::RadosStorage *rados_storage,