From d1df643bafcadbd5d01e8514375a14f0b62f5d0b Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 21 Mar 2010 17:41:17 +0000 Subject: [PATCH] msvc8 build fix --- src/torrent.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/torrent.cpp b/src/torrent.cpp index d3e85f0ac..2e7cb3150 100644 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -218,7 +218,8 @@ namespace libtorrent PRINT_OFFSETOF(torrent, m_extensions) PRINT_OFFSETOF(torrent, m_tracker_timer) PRINT_OFFSETOF(torrent, m_stat) - PRINT_OFFSETOF(torrent, m_ses) +// some compilers don't like using offsetof on references it seems +// PRINT_OFFSETOF(torrent, m_ses) PRINT_OFFSETOF(torrent, m_file_priority) PRINT_OFFSETOF(torrent, m_file_progress) PRINT_OFFSETOF(torrent, m_picker)