aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorvlmarkov <vlmarkov@yandex-team.ru>2022-02-10 16:46:07 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:07 +0300
commitdbd3185956979f21ea16ef90c1ba4aa2d6a75fae (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util
parent6a382399c9a1053abd7d772ec30ca9873f7429a1 (diff)
downloadydb-dbd3185956979f21ea16ef90c1ba4aa2d6a75fae.tar.gz
Restoring authorship annotation for <vlmarkov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util')
-rw-r--r--util/digest/murmur.cpp20
-rw-r--r--util/draft/datetime.cpp6
-rw-r--r--util/stream/zlib.cpp4
3 files changed, 15 insertions, 15 deletions
diff --git a/util/digest/murmur.cpp b/util/digest/murmur.cpp
index 8b341b51fa..b041d3e5f2 100644
--- a/util/digest/murmur.cpp
+++ b/util/digest/murmur.cpp
@@ -40,16 +40,16 @@ namespace NMurmurPrivate {
switch (iter.Left()) {
case 3:
h ^= data[2] << 16;
- [[fallthrough]];
+ [[fallthrough]];
case 2:
h ^= data[1] << 8;
- [[fallthrough]];
+ [[fallthrough]];
case 1:
h ^= data[0];
h *= m;
- break;
+ break;
};
h ^= h >> 13;
@@ -90,32 +90,32 @@ namespace NMurmurPrivate {
switch (iter.Left()) {
case 7:
h ^= ui64(data2[6]) << 48;
- [[fallthrough]];
+ [[fallthrough]];
case 6:
h ^= ui64(data2[5]) << 40;
- [[fallthrough]];
+ [[fallthrough]];
case 5:
h ^= ui64(data2[4]) << 32;
- [[fallthrough]];
+ [[fallthrough]];
case 4:
h ^= ui64(data2[3]) << 24;
- [[fallthrough]];
+ [[fallthrough]];
case 3:
h ^= ui64(data2[2]) << 16;
- [[fallthrough]];
+ [[fallthrough]];
case 2:
h ^= ui64(data2[1]) << 8;
- [[fallthrough]];
+ [[fallthrough]];
case 1:
h ^= ui64(data2[0]);
h *= m;
- break;
+ break;
}
h ^= h >> r;
diff --git a/util/draft/datetime.cpp b/util/draft/datetime.cpp
index 33b9152432..5cbe7d8847 100644
--- a/util/draft/datetime.cpp
+++ b/util/draft/datetime.cpp
@@ -136,13 +136,13 @@ namespace NDatetime {
return *this;
case F_DAY:
amount *= 24;
- [[fallthrough]];
+ [[fallthrough]];
case F_HOUR:
amount *= 60;
- [[fallthrough]];
+ [[fallthrough]];
case F_MIN:
amount *= 60;
- [[fallthrough]];
+ [[fallthrough]];
case F_SEC: {
return *this = New(AsTimeT() + amount, GMTOff, IsDst);
}
diff --git a/util/stream/zlib.cpp b/util/stream/zlib.cpp
index 38bcf1cc52..60f4e9439f 100644
--- a/util/stream/zlib.cpp
+++ b/util/stream/zlib.cpp
@@ -126,8 +126,8 @@ public:
} else {
return size - Z()->avail_out;
}
-
- [[fallthrough]];
+
+ [[fallthrough]];
}
case Z_OK: {