From: Casey Bodley Date: Mon, 16 Mar 2020 15:58:51 +0000 (-0400) Subject: buffer: add missing != operator for bufferlist X-Git-Tag: v16.1.0~2620^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fd760174b507bc8281473996c8533b81c2cdebeb;p=ceph.git buffer: add missing != operator for bufferlist Signed-off-by: Casey Bodley --- diff --git a/src/include/buffer.h b/src/include/buffer.h index c8310fefa5ec..9e0c2fd4d280 100644 --- a/src/include/buffer.h +++ b/src/include/buffer.h @@ -1257,6 +1257,9 @@ inline bool operator==(const bufferlist &l, const bufferlist &r) { } return true; } +inline bool operator!=(const bufferlist &l, const bufferlist &r) { + return !(l == r); +} inline bool operator<(const bufferlist& l, const bufferlist& r) { return r > l; }