diff options
author | gritukan <gritukan@yandex-team.ru> | 2022-02-10 16:47:54 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:54 +0300 |
commit | e72b2fbecff9bceacda41e0dde32e742cfb31592 (patch) | |
tree | c0748b5dcbade83af788c0abfa89c0383d6b779c /library/cpp/yt/string/format-inl.h | |
parent | 5ab2c1182d0b02a3880e1869c6351b7ba802a19b (diff) | |
download | ydb-e72b2fbecff9bceacda41e0dde32e742cfb31592.tar.gz |
Restoring authorship annotation for <gritukan@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yt/string/format-inl.h')
-rw-r--r-- | library/cpp/yt/string/format-inl.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/library/cpp/yt/string/format-inl.h b/library/cpp/yt/string/format-inl.h index 2d9e3184e2..5484d4a216 100644 --- a/library/cpp/yt/string/format-inl.h +++ b/library/cpp/yt/string/format-inl.h @@ -9,7 +9,7 @@ #include <library/cpp/yt/assert/assert.h> -#include <library/cpp/yt/small_containers/compact_vector.h> +#include <library/cpp/yt/small_containers/compact_vector.h> #include <library/cpp/yt/misc/enum.h> @@ -297,16 +297,16 @@ struct TValueFormatter<std::vector<T, TAllocator>> } }; -// TCompactVector -template <class T, unsigned N> -struct TValueFormatter<TCompactVector<T, N>> -{ - static void Do(TStringBuilderBase* builder, const TCompactVector<T, N>& collection, TStringBuf /*format*/) - { - FormatRange(builder, collection, TDefaultFormatter()); - } -}; - +// TCompactVector +template <class T, unsigned N> +struct TValueFormatter<TCompactVector<T, N>> +{ + static void Do(TStringBuilderBase* builder, const TCompactVector<T, N>& collection, TStringBuf /*format*/) + { + FormatRange(builder, collection, TDefaultFormatter()); + } +}; + // std::set template <class T> struct TValueFormatter<std::set<T>> |