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
commit3e57c324d47a3a202cb3c5a9648d2f92103d5213 (patch)
tree6913479b0d0b22ec99bbba7c96f2f930d9095600 /util/ysaveload.h
parentbebbbda5c5ff4ec70d301ac897eb8d6c8da7a9a4 (diff)
downloadydb-3e57c324d47a3a202cb3c5a9648d2f92103d5213.tar.gz
Restoring authorship annotation for <fippo@yandex-team.ru>. Commit 1 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 02efb4049b..225579a68b 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 {