aboutsummaryrefslogtreecommitdiffstats
path: root/util/draft/enum.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 /util/draft/enum.h
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'util/draft/enum.h')
-rw-r--r--util/draft/enum.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/draft/enum.h b/util/draft/enum.h
index 18002b7df2..a7adc49c32 100644
--- a/util/draft/enum.h
+++ b/util/draft/enum.h
@@ -37,8 +37,8 @@ const V* FindEnumFromStringImpl(const char* key, const std::pair<const char*, V>
}
template <class K, class V>
-TString PrintEnumItemsImpl(const std::pair<K, V>* entries, size_t arraySize) {
- TString result;
+TString PrintEnumItemsImpl(const std::pair<K, V>* entries, size_t arraySize) {
+ TString result;
TStringOutput out(result);
for (size_t i = 0; i < arraySize; i++)
out << (i ? ", " : "") << "'" << entries[i].first << "'";
@@ -47,8 +47,8 @@ TString PrintEnumItemsImpl(const std::pair<K, V>* entries, size_t arraySize) {
// special version for const char*
template <class V>
-TString PrintEnumItemsImpl(const std::pair<const char*, V>* entries, size_t arraySize) {
- TString result;
+TString PrintEnumItemsImpl(const std::pair<const char*, V>* entries, size_t arraySize) {
+ TString result;
TStringOutput out(result);
for (size_t i = 0; i < arraySize; i++)
out << (i ? ", " : "") << "'" << (entries[i].first ? entries[i].first : "<null>") << "'";