make TORRENT_DEBUG macro not affect ABI of entry class (bencoding)

This commit is contained in:
Arvid Norberg
2013-11-17 20:37:55 +00:00
parent 06678f0d3c
commit 907e7b7415
2 changed files with 17 additions and 22 deletions

View File

@@ -147,7 +147,7 @@ namespace libtorrent
#ifdef TORRENT_DEBUG
m_type_queried = true;
#endif
return m_type;
return (entry::data_type)m_type;
}
entry::~entry() { destruct(); }