diff --git a/include/libtorrent/disk_buffer_pool.hpp b/include/libtorrent/disk_buffer_pool.hpp index 6d03908d1..79f46a169 100644 --- a/include/libtorrent/disk_buffer_pool.hpp +++ b/include/libtorrent/disk_buffer_pool.hpp @@ -98,13 +98,6 @@ namespace libtorrent void set_settings(aux::session_settings const& sett, error_code& ec); - struct handler_t - { - char* buffer; // argument to the callback - char const* category; // category of allocation - boost::function callback; - }; - protected: void free_buffer_impl(char* buf, mutex::scoped_lock& l);