fix logging=off build
This commit is contained in:
parent
9e1305ed75
commit
0a31e26344
|
@ -47,10 +47,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "libtorrent/linked_list.hpp"
|
||||
#include "libtorrent/disk_buffer_pool.hpp"
|
||||
#include "libtorrent/file.hpp" // for iovec_t
|
||||
|
||||
#if TORRENT_USE_ASSERTS || !defined TORRENT_DISABLE_LOGGING
|
||||
#include "libtorrent/disk_io_job.hpp"
|
||||
#endif
|
||||
|
||||
namespace libtorrent
|
||||
{
|
||||
|
|
|
@ -153,7 +153,9 @@ rpc_manager::rpc_manager(node_id const& our_id
|
|||
, dht_logger* log)
|
||||
: m_pool_allocator(sizeof(observer_storage), 10)
|
||||
, m_sock(sock)
|
||||
#ifndef TORRENT_DISABLE_LOGGING
|
||||
, m_log(log)
|
||||
#endif
|
||||
, m_settings(settings)
|
||||
, m_table(table)
|
||||
, m_our_id(our_id)
|
||||
|
|
Loading…
Reference in New Issue