]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd: unify initialization in Notify.
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Fri, 5 Mar 2021 21:37:05 +0000 (21:37 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Sat, 6 Mar 2021 16:27:14 +0000 (16:27 +0000)
Let's be consistent with the `Notify::timeout_timer`.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/crimson/osd/watch.h

index 0f2083651cf84f4809210124639a2a1e694b4d3c..f787b34e299e077abf132c0316eaf9facbf3e2de 100644 (file)
@@ -115,8 +115,8 @@ class Notify {
   crimson::net::ConnectionRef conn;
   uint64_t client_gid;
   uint64_t user_version;
-  bool complete = false;
-  bool discarded = false;
+  bool complete{false};
+  bool discarded{false};
   seastar::timer<seastar::lowres_clock> timeout_timer{
     [this] { do_timeout(); }
   };