aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/charset/codepage.cpp
diff options
context:
space:
mode:
authorAlexander Fokin <apfokin@gmail.com>2022-02-10 16:45:38 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:38 +0300
commitbf9e69a933f89af083d895185f01ed65e4d90766 (patch)
treeb2cc84ee7850122e7ccf51d0ea21e4fa7e7a5685 /library/cpp/charset/codepage.cpp
parent863a59a65247c24db7cb06789bc5cf79d04da32f (diff)
downloadydb-bf9e69a933f89af083d895185f01ed65e4d90766.tar.gz
Restoring authorship annotation for Alexander Fokin <apfokin@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/charset/codepage.cpp')
-rw-r--r--library/cpp/charset/codepage.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/charset/codepage.cpp b/library/cpp/charset/codepage.cpp
index 14bb9b328d..0431bef31b 100644
--- a/library/cpp/charset/codepage.cpp
+++ b/library/cpp/charset/codepage.cpp
@@ -14,7 +14,7 @@
#include <util/generic/hash_set.h>
#include <util/generic/singleton.h>
#include <util/generic/yexception.h>
-#include <util/memory/pool.h>
+#include <util/memory/pool.h>
#include <cstring>
@@ -131,7 +131,7 @@ private:
using TData = THashMap<TStringBuf, ECharset, ci_hash, ci_equal_to>;
TData Data;
- TMemoryPool Pool;
+ TMemoryPool Pool;
private:
inline void AddNameWithCheck(const TString& name, ECharset code) {
@@ -141,7 +141,7 @@ private:
Y_ASSERT(Data.find(name.c_str())->second == code);
}
}
-
+
inline void AddName(const TString& name, ECharset code) {
AddNameWithCheck(name, code);
@@ -160,9 +160,9 @@ private:
}
public:
- inline TCodePageHash()
- : Pool(20 * 1024) /* Currently used: 17KB. */
- {
+ inline TCodePageHash()
+ : Pool(20 * 1024) /* Currently used: 17KB. */
+ {
TString xPrefix = "x-";
const char* name;