diff options
author | swarmer <swarmer@yandex-team.ru> | 2022-02-10 16:46:31 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:31 +0300 |
commit | 317da38588b7898a99fd9168571408123350012b (patch) | |
tree | 25eebc31526019ad39a6c1b13f492963d97ba439 /library/cpp/resource/registry.h | |
parent | 3b2241461d41d41ba1a706b0750c4f0f55c344f6 (diff) | |
download | ydb-317da38588b7898a99fd9168571408123350012b.tar.gz |
Restoring authorship annotation for <swarmer@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/resource/registry.h')
-rw-r--r-- | library/cpp/resource/registry.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/resource/registry.h b/library/cpp/resource/registry.h index fe67702cbc..819966fa31 100644 --- a/library/cpp/resource/registry.h +++ b/library/cpp/resource/registry.h @@ -6,8 +6,8 @@ #include "resource.h" namespace NResource { - TString Compress(const TStringBuf data); - TString Decompress(const TStringBuf data); + TString Compress(const TStringBuf data); + TString Decompress(const TStringBuf data); class IMatch { public: @@ -16,9 +16,9 @@ namespace NResource { class IStore { public: - virtual void Store(const TStringBuf key, const TStringBuf data) = 0; - virtual bool FindExact(const TStringBuf key, TString* out) const = 0; - virtual void FindMatch(const TStringBuf subkey, IMatch& cb) const = 0; + virtual void Store(const TStringBuf key, const TStringBuf data) = 0; + virtual bool FindExact(const TStringBuf key, TString* out) const = 0; + virtual void FindMatch(const TStringBuf subkey, IMatch& cb) const = 0; virtual size_t Count() const noexcept = 0; virtual TStringBuf KeyByIndex(size_t idx) const = 0; virtual ~IStore() { @@ -28,7 +28,7 @@ namespace NResource { IStore* CommonStore(); struct TRegHelper { - inline TRegHelper(const TStringBuf key, const TStringBuf data) { + inline TRegHelper(const TStringBuf key, const TStringBuf data) { CommonStore()->Store(key, data); } }; |