proxy server: allow build without push notification support

This commit is contained in:
Adrien Béraud committed 2020-05-24 14:11:13 -04:00
1 parent af1e904895
commit 2195c0ed3e
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -350,11 +350,13 @@ DhtProxyServer::saveState(Os& stream) {
pk.pack("puts");
pk.pack(puts_);
}
#ifdef OPENDHT_PUSH_NOTIFICATIONS
{
std::lock_guard<std::mutex> lock(lockListener_);
pk.pack("pushListeners");
pk.pack(pushListeners_);
}
#endif
}
template <typename Is>