diff options
author | Ilnur Khuziev <ilnur.khuziev@yandex.ru> | 2022-02-10 16:46:13 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:13 +0300 |
commit | 736dcd8ca259457a136f2f9f9168c44643914323 (patch) | |
tree | ddd46a036d68bfa83aa11b892f31243ea6b068a1 /library/cpp/resource/resource.cpp | |
parent | 9bf2fa2b060c9881d3135c2208c624a1dd546ecc (diff) | |
download | ydb-736dcd8ca259457a136f2f9f9168c44643914323.tar.gz |
Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/resource/resource.cpp')
-rw-r--r-- | library/cpp/resource/resource.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/resource/resource.cpp b/library/cpp/resource/resource.cpp index cc20f847a5f..b4375ecb97b 100644 --- a/library/cpp/resource/resource.cpp +++ b/library/cpp/resource/resource.cpp @@ -1,9 +1,9 @@ #include "resource.h" -#include "resource.h" +#include "resource.h" #include "registry.h" #include <util/generic/yexception.h> -#include <util/generic/xrange.h> +#include <util/generic/xrange.h> using namespace NResource; @@ -47,11 +47,11 @@ size_t NResource::Count() noexcept { TStringBuf NResource::KeyByIndex(size_t idx) { return CommonStore()->KeyByIndex(idx); } - + TVector<TStringBuf> NResource::ListAllKeys() { TVector<TStringBuf> res(Reserve(NResource::Count())); - for (auto i : xrange(NResource::Count())) { - res.push_back(NResource::KeyByIndex(i)); - } - return res; -} + for (auto i : xrange(NResource::Count())) { + res.push_back(NResource::KeyByIndex(i)); + } + return res; +} |