aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/codecs/codecs_registry.h
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:23 +0300
commit706b83ed7de5a473436620367af31fc0ceecde07 (patch)
tree103305d30dec77e8f6367753367f59b3cd68f9f1 /library/cpp/codecs/codecs_registry.h
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/codecs/codecs_registry.h')
-rw-r--r--library/cpp/codecs/codecs_registry.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/codecs/codecs_registry.h b/library/cpp/codecs/codecs_registry.h
index 53710310d5..1c82365d8f 100644
--- a/library/cpp/codecs/codecs_registry.h
+++ b/library/cpp/codecs/codecs_registry.h
@@ -13,7 +13,7 @@ namespace NCodecs {
struct ICodecFactory : TAtomicRefCount<ICodecFactory> {
virtual ~ICodecFactory() = default;
virtual TCodecPtr MakeCodec(TStringBuf name) const = 0;
- virtual TVector<TString> ListNames() const = 0;
+ virtual TVector<TString> ListNames() const = 0;
};
typedef TIntrusivePtr<ICodecFactory> TCodecFactoryPtr;
@@ -25,15 +25,15 @@ namespace NCodecs {
return new TCodec;
}
- TVector<TString> ListNames() const override {
- TVector<TString> vs;
+ TVector<TString> ListNames() const override {
+ TVector<TString> vs;
vs.push_back(ToString(TCodec::MyName()));
return vs;
}
};
class TCodecRegistry {
- using TRegistry = THashMap<TString, TIntrusivePtr<ICodecFactory>>;
+ using TRegistry = THashMap<TString, TIntrusivePtr<ICodecFactory>>;
TRegistry Registry;
public:
@@ -45,7 +45,7 @@ namespace NCodecs {
TCodecPtr GetCodec(TStringBuf name) const;
- TVector<TString> GetCodecsList() const;
+ TVector<TString> GetCodecsList() const;
};
}