aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_peerlist_boost_serialization.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/p2p/net_peerlist_boost_serialization.h')
-rw-r--r--src/p2p/net_peerlist_boost_serialization.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/p2p/net_peerlist_boost_serialization.h b/src/p2p/net_peerlist_boost_serialization.h
index d9a11728b..9a0d12c2e 100644
--- a/src/p2p/net_peerlist_boost_serialization.h
+++ b/src/p2p/net_peerlist_boost_serialization.h
@@ -49,6 +49,14 @@ namespace boost
a & pl.adr;
a & pl.id;
a & pl.last_seen;
- }
+ }
+
+ template <class Archive, class ver_type>
+ inline void serialize(Archive &a, nodetool::anchor_peerlist_entry& pl, const ver_type ver)
+ {
+ a & pl.adr;
+ a & pl.id;
+ a & pl.first_seen;
+ }
}
}