change to entry to support building client in debug mode and libtorrent in release mode

This commit is contained in:
Arvid Norberg
2008-01-03 03:10:25 +00:00
parent 1aa9a5b041
commit 4e559e8dfe
2 changed files with 33 additions and 18 deletions

View File

@@ -142,6 +142,29 @@ namespace libtorrent
}
#endif
entry::entry(): m_type(undefined_t)
{
#ifndef NDEBUG
m_type_queried = true;
#endif
}
entry::entry(data_type t): m_type(t)
{
construct(t);
#ifndef NDEBUG
m_type_queried = true;
#endif
}
entry::entry(const entry& e)
{
copy(e);
#ifndef NDEBUG
m_type_queried = e.m_type_queried;
#endif
}
entry::entry(dictionary_type const& v)
{
#ifndef NDEBUG