From: Kefu Chai Date: Sun, 7 Mar 2021 13:51:53 +0000 (+0800) Subject: crimson/osd: add constness to Notify X-Git-Tag: v17.1.0~2705^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F39900%2Fhead;p=ceph.git crimson/osd: add constness to Notify Signed-off-by: Kefu Chai --- diff --git a/src/crimson/osd/watch.h b/src/crimson/osd/watch.h index d9f7325d3acc..c58cf3edd4a3 100644 --- a/src/crimson/osd/watch.h +++ b/src/crimson/osd/watch.h @@ -108,10 +108,10 @@ std::ostream &operator<<(std::ostream &out, const notify_reply_t &rhs); class Notify { std::set watchers; - notify_info_t ninfo; + const notify_info_t ninfo; crimson::net::ConnectionRef conn; - uint64_t client_gid; - uint64_t user_version; + const uint64_t client_gid; + const uint64_t user_version; bool complete{false}; bool discarded{false}; seastar::timer timeout_timer{