aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorvlmarkov <vlmarkov@yandex-team.ru>2022-02-10 16:46:06 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:06 +0300
commit6a382399c9a1053abd7d772ec30ca9873f7429a1 (patch)
treef13f43c75b816da6bd8ee13cda92798d3956663f /util
parentce2ad6f6a6f6025e37fb7f8debe7cefd3aa2307c (diff)
downloadydb-6a382399c9a1053abd7d772ec30ca9873f7429a1.tar.gz
Restoring authorship annotation for <vlmarkov@yandex-team.ru>. Commit 1 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 b041d3e5f2..8b341b51fa 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 5cbe7d8847..33b9152432 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 60f4e9439f..38bcf1cc52 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: {