aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/iterator/iterate_keys.h
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.ru>2022-02-10 16:45:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:08 +0300
commit4e839db24a3bbc9f1c610c43d6faaaa99824dcca (patch)
tree506dac10f5df94fab310584ee51b24fc5a081c22 /library/cpp/iterator/iterate_keys.h
parent2d37894b1b037cf24231090eda8589bbb44fb6fc (diff)
downloadydb-4e839db24a3bbc9f1c610c43d6faaaa99824dcca.tar.gz
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/iterator/iterate_keys.h')
-rw-r--r--library/cpp/iterator/iterate_keys.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/library/cpp/iterator/iterate_keys.h b/library/cpp/iterator/iterate_keys.h
index 75362a6bd6..0915d0040d 100644
--- a/library/cpp/iterator/iterate_keys.h
+++ b/library/cpp/iterator/iterate_keys.h
@@ -1,13 +1,13 @@
-#pragma once
-
-#include "mapped.h"
-
-template<typename TMapping>
-auto IterateKeys(TMapping&& map) {
- return ::MakeMappedRange(
- std::forward<TMapping>(map),
- [](const auto& x) -> decltype((x.first)) {
- return x.first;
- }
- );
-}
+#pragma once
+
+#include "mapped.h"
+
+template<typename TMapping>
+auto IterateKeys(TMapping&& map) {
+ return ::MakeMappedRange(
+ std::forward<TMapping>(map),
+ [](const auto& x) -> decltype((x.first)) {
+ return x.first;
+ }
+ );
+}