change to entry to support building client in debug mode and libtorrent in release mode
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user