deprecate save_encryption_settings (they are part of the normal settings)
This commit is contained in:
parent
7ea5946305
commit
69ff30f50f
|
@ -1,4 +1,5 @@
|
|||
|
||||
* deprecate save_encryption_settings (they are part of the normal settings)
|
||||
* add getters for peer_class_filter and peer_class_type_filter
|
||||
* make torrent_handler::set_priority() to use peer_classes
|
||||
* fix support for boost-1.66 (requires C++11)
|
||||
|
|
|
@ -1047,8 +1047,8 @@ void bind_session()
|
|||
.value("save_settings", lt::session::save_settings)
|
||||
.value("save_dht_settings", lt::session::save_dht_settings)
|
||||
.value("save_dht_state", lt::session::save_dht_state)
|
||||
.value("save_encryption_settings", lt::session:: save_encryption_settings)
|
||||
#ifndef TORRENT_NO_DEPRECATE
|
||||
.value("save_encryption_settings", lt::session:: save_encryption_settings)
|
||||
.value("save_as_map", lt::session::save_as_map)
|
||||
.value("save_i2p_proxy", lt::session::save_i2p_proxy)
|
||||
.value("save_proxy", lt::session::save_proxy)
|
||||
|
|
|
@ -89,13 +89,12 @@ namespace libtorrent
|
|||
|
||||
// saves dht state such as nodes and node-id, possibly accelerating
|
||||
// joining the DHT if provided at next session startup.
|
||||
save_dht_state = 0x004,
|
||||
|
||||
// save pe_settings
|
||||
save_encryption_settings = 0x020
|
||||
save_dht_state = 0x004
|
||||
|
||||
#ifndef TORRENT_NO_DEPRECATE
|
||||
,
|
||||
// save pe_settings
|
||||
save_encryption_settings TORRENT_DEPRECATED_ENUM = 0x020,
|
||||
save_as_map TORRENT_DEPRECATED_ENUM = 0x040,
|
||||
// saves RSS feeds
|
||||
save_feeds TORRENT_DEPRECATED_ENUM = 0x080,
|
||||
|
|
Loading…
Reference in New Issue