aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/enumbitset/enumbitset.h
diff options
context:
space:
mode:
authorvmordovin <vmordovin@yandex-team.ru>2022-02-10 16:48:14 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:14 +0300
commit6a1e535429145ec1ecfbc5f1efd3c95323261fb5 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/enumbitset/enumbitset.h
parent7c7f9bbcf57e15838d15afa94b31d8254b5d7776 (diff)
downloadydb-6a1e535429145ec1ecfbc5f1efd3c95323261fb5.tar.gz
Restoring authorship annotation for <vmordovin@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/enumbitset/enumbitset.h')
-rw-r--r--library/cpp/enumbitset/enumbitset.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/enumbitset/enumbitset.h b/library/cpp/enumbitset/enumbitset.h
index 7857af1438..41864c3a04 100644
--- a/library/cpp/enumbitset/enumbitset.h
+++ b/library/cpp/enumbitset/enumbitset.h
@@ -305,7 +305,7 @@ public:
return ret;
}
- void FromString(TStringBuf s) {
+ void FromString(TStringBuf s) {
static const size_t chunkSize = sizeof(typename TParent::TChunk) * 8;
static const size_t numDig = chunkSize / 4;
static const size_t highChunkBits = (BitsetSize + chunkSize - 1) % chunkSize + 1;
@@ -326,7 +326,7 @@ public:
}
// TODO: Get rid of exceptions at all
- bool TryFromString(TStringBuf s) {
+ bool TryFromString(TStringBuf s) {
try {
FromString(s);
} catch (...) {