aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/resource/registry.h
diff options
context:
space:
mode:
authorswarmer <swarmer@yandex-team.ru>2022-02-10 16:46:31 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:31 +0300
commit317da38588b7898a99fd9168571408123350012b (patch)
tree25eebc31526019ad39a6c1b13f492963d97ba439 /library/cpp/resource/registry.h
parent3b2241461d41d41ba1a706b0750c4f0f55c344f6 (diff)
downloadydb-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.h12
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);
}
};