From: Alex Ainscow Date: Thu, 23 Jan 2025 08:42:48 +0000 (+0000) Subject: interval_set: Review comments X-Git-Tag: v20.0.0~286^2~3 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=2a4f4c5269a0db0f1126094c4fa75b6ed8766cf1;p=ceph.git interval_set: Review comments Signed-off-by: Alex Ainscow --- diff --git a/src/include/interval_set.h b/src/include/interval_set.h index 06727fb9fd182..f7a197303e420 100644 --- a/src/include/interval_set.h +++ b/src/include/interval_set.h @@ -498,7 +498,7 @@ class interval_set { T new_len = len; auto p = find_adj_m(start); auto o = std::pair(start, len); - T end = start+len; + T end = start + len; if(len == 0) { if (p != m.end() && start >= p->first && start < p->first + p->second) { @@ -828,7 +828,7 @@ class interval_set { } /* - * Round down interval starts and round up interval ends alignment the specified @alignment + * Round down interval starts and round up interval ends to specified alignment. */ void align(T alignment) { interval_set tmp;