diff --git a/include/opendht/dht_proxy_server.h b/include/opendht/dht_proxy_server.h index 33f7e3b3a6c60815e869b046808d09370ad14712..742a5e7f7a87b666e3ba889094c259997b9737c1 100644 --- a/include/opendht/dht_proxy_server.h +++ b/include/opendht/dht_proxy_server.h @@ -62,7 +62,7 @@ class DhtRunner; using RestRouter = restinio::router::express_router_t<>; using RequestStatus = restinio::request_handling_status_t; -struct ProxyServerConfig { +struct OPENDHT_PUBLIC ProxyServerConfig { std::string address {}; in_port_t port {8000}; std::string pushServer {}; @@ -455,7 +455,6 @@ private: MSGPACK_DEFINE_ARRAY(listeners) }; std::map<std::string, PushListener> pushListeners_; - proxy::ListenToken tokenPushNotif_ {0}; #endif //OPENDHT_PUSH_NOTIFICATIONS };