aboutsummaryrefslogtreecommitdiffstats
path: root/util/ysaveload.h
diff options
context:
space:
mode:
authorfippo <fippo@yandex-team.ru>2022-02-10 16:50:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:08 +0300
commit7bf72dabd2102d9781c1ec7a754579757baa7b90 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/ysaveload.h
parent3e57c324d47a3a202cb3c5a9648d2f92103d5213 (diff)
downloadydb-7bf72dabd2102d9781c1ec7a754579757baa7b90.tar.gz
Restoring authorship annotation for <fippo@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/ysaveload.h')
-rw-r--r--util/ysaveload.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/util/ysaveload.h b/util/ysaveload.h
index 225579a68b..02efb4049b 100644
--- a/util/ysaveload.h
+++ b/util/ysaveload.h
@@ -617,28 +617,28 @@ template <class T1, class T2, class T3, class T4>
class TSerializer<THashSet<T1, T2, T3, T4>>: public TSetSerializer<THashSet<T1, T2, T3, T4>, false> {
};
-template <class T1, class T2>
+template <class T1, class T2>
class TSerializer<TQueue<T1, T2>> {
-public:
+public:
static inline void Save(IOutputStream* rh, const TQueue<T1, T2>& v) {
- ::Save(rh, v.Container());
- }
+ ::Save(rh, v.Container());
+ }
static inline void Load(IInputStream* in, TQueue<T1, T2>& t) {
- ::Load(in, t.Container());
- }
-};
-
-template <class T1, class T2, class T3>
+ ::Load(in, t.Container());
+ }
+};
+
+template <class T1, class T2, class T3>
class TSerializer<TPriorityQueue<T1, T2, T3>> {
-public:
+public:
static inline void Save(IOutputStream* rh, const TPriorityQueue<T1, T2, T3>& v) {
- ::Save(rh, v.Container());
- }
+ ::Save(rh, v.Container());
+ }
static inline void Load(IInputStream* in, TPriorityQueue<T1, T2, T3>& t) {
- ::Load(in, t.Container());
- }
-};
-
+ ::Load(in, t.Container());
+ }
+};
+
#ifndef __NVCC__
namespace NPrivate {