diff options
author | vmordovin <vmordovin@yandex-team.ru> | 2022-02-10 16:48:14 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:14 +0300 |
commit | 6a1e535429145ec1ecfbc5f1efd3c95323261fb5 (patch) | |
tree | b222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/enumbitset/enumbitset.h | |
parent | 7c7f9bbcf57e15838d15afa94b31d8254b5d7776 (diff) | |
download | ydb-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.h | 4 |
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 (...) { |