aboutsummaryrefslogtreecommitdiffstats
path: root/util/ysaveload.h
diff options
context:
space:
mode:
authordprokoptsev <dprokoptsev@yandex-team.ru>2022-02-10 16:50:05 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:05 +0300
commit94e596fdab09d4aeb51a3d27767959d8ed030a3d (patch)
tree9efd85ff3b6369cf556bfb78b67b233e11d02ff6 /util/ysaveload.h
parent64407caacb4d68aeabc6afe1ddd28750bf7522f4 (diff)
downloadydb-94e596fdab09d4aeb51a3d27767959d8ed030a3d.tar.gz
Restoring authorship annotation for <dprokoptsev@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/ysaveload.h')
-rw-r--r--util/ysaveload.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/ysaveload.h b/util/ysaveload.h
index 02efb4049b..938c82d6ff 100644
--- a/util/ysaveload.h
+++ b/util/ysaveload.h
@@ -398,16 +398,16 @@ template <class T, size_t N>
class TSerializer<std::array<T, N>>: public TStdArraySerializer<std::array<T, N>> {
};
-template <class A, class B>
+template <class A, class B>
class TSerializer<std::pair<A, B>> {
using TPair = std::pair<A, B>;
-
+
public:
static inline void Save(IOutputStream* rh, const TPair& p) {
::Save(rh, p.first);
::Save(rh, p.second);
}
-
+
static inline void Load(IInputStream* rh, TPair& p) {
::Load(rh, p.first);
::Load(rh, p.second);
@@ -418,8 +418,8 @@ public:
::Load(rh, p.first, pool);
::Load(rh, p.second, pool);
}
-};
-
+};
+
template <class T>
struct TTupleSerializer {
template <class F, class Tuple, size_t... Indices>