aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/resource/resource.cpp
diff options
context:
space:
mode:
authorIlnur Khuziev <ilnur.khuziev@yandex.ru>2022-02-10 16:46:14 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:14 +0300
commit60040c91ffe701a84689b2c6310ff845e65cff42 (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/resource/resource.cpp
parent736dcd8ca259457a136f2f9f9168c44643914323 (diff)
downloadydb-60040c91ffe701a84689b2c6310ff845e65cff42.tar.gz
Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/resource/resource.cpp')
-rw-r--r--library/cpp/resource/resource.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/resource/resource.cpp b/library/cpp/resource/resource.cpp
index b4375ecb97b..cc20f847a5f 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;
+}