cleanup of field torrent_need_cert_alert::error (#2414)
deprecate field torrent_need_cert_alert::error
This commit is contained in:
parent
170c2a6984
commit
e47f73ee3b
|
@ -852,7 +852,9 @@ void bind_alert()
|
|||
;
|
||||
class_<torrent_need_cert_alert, bases<torrent_alert>, noncopyable>(
|
||||
"torrent_need_cert_alert", no_init)
|
||||
#ifndef TORRENT_NO_DEPRECATE
|
||||
.def_readonly("error", &torrent_need_cert_alert::error)
|
||||
#endif
|
||||
;
|
||||
|
||||
class_<add_torrent_alert, bases<torrent_alert>, noncopyable>(
|
||||
|
|
|
@ -1810,8 +1810,9 @@ namespace libtorrent {
|
|||
|
||||
static constexpr alert_category_t static_category = alert::status_notification;
|
||||
std::string message() const override;
|
||||
|
||||
error_code const error;
|
||||
#ifndef TORRENT_NO_DEPRECATE
|
||||
error_code const TORRENT_DEPRECATED_MEMBER error;
|
||||
#endif
|
||||
};
|
||||
|
||||
// The incoming connection alert is posted every time we successfully accept
|
||||
|
|
|
@ -814,9 +814,7 @@ namespace aux {
|
|||
// certificate in the .torrent file to be valid.
|
||||
//
|
||||
// The set_ssl_certificate_buffer() overload takes the actual certificate,
|
||||
// private key and DH params as strings, rather than paths to files. This
|
||||
// overload is only available when libtorrent is built against boost
|
||||
// 1.54 or later.
|
||||
// private key and DH params as strings, rather than paths to files.
|
||||
//
|
||||
// ``cert`` is a path to the (signed) certificate in .pem format
|
||||
// corresponding to this torrent.
|
||||
|
|
Loading…
Reference in New Issue