diff --git a/include/libtorrent/settings_pack.hpp b/include/libtorrent/settings_pack.hpp index c7e367c67..b1cc849d4 100644 --- a/include/libtorrent/settings_pack.hpp +++ b/include/libtorrent/settings_pack.hpp @@ -289,16 +289,12 @@ namespace libtorrent use_read_cache, #ifndef TORRENT_NO_DEPRECATE use_write_cache, -#else - deprecated7, -#endif // this will make the disk cache never flush a write piece if it would // cause is to have to re-read it once we want to calculate the piece // hash dont_flush_write_cache, -#ifndef TORRENT_NO_DEPRECATE // ``explicit_read_cache`` defaults to 0. If set to something greater // than 0, the disk read cache will not be evicted by cache misses and // will explicitly be controlled based on the rarity of pieces. Rare @@ -309,7 +305,9 @@ namespace libtorrent // clamped. explicit_read_cache, #else + deprecated7, deprecated10, + deprecated13, #endif // allocate separate, contiguous, buffers for read and write calls. diff --git a/src/settings_pack.cpp b/src/settings_pack.cpp index 651d9170d..e2e7ecfc0 100644 --- a/src/settings_pack.cpp +++ b/src/settings_pack.cpp @@ -152,7 +152,7 @@ namespace libtorrent SET(use_parole_mode, true, 0), SET(use_read_cache, true, 0), DEPRECATED_SET(use_write_cache, true, 0), - SET(dont_flush_write_cache, false, 0), + DEPRECATED_SET(dont_flush_write_cache, false, 0), DEPRECATED_SET(explicit_read_cache, false, 0), SET(coalesce_reads, false, 0), SET(coalesce_writes, false, 0),