header dependency fix
This commit is contained in:
parent
f42f4641a6
commit
7db5996abc
|
@ -143,15 +143,9 @@ namespace libtorrent
|
|||
}
|
||||
|
||||
bool is_working() const
|
||||
{
|
||||
return fails == 0;
|
||||
}
|
||||
{ return fails == 0; }
|
||||
|
||||
void trim()
|
||||
{
|
||||
while (!url.empty() && is_space(url[0]))
|
||||
url.erase(url.begin());
|
||||
}
|
||||
void trim();
|
||||
};
|
||||
|
||||
#ifndef BOOST_NO_EXCEPTIONS
|
||||
|
|
|
@ -37,6 +37,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "libtorrent/utf8.hpp"
|
||||
#include <boost/bind.hpp>
|
||||
#include <cstdio>
|
||||
#include <algorithm>
|
||||
|
||||
namespace libtorrent
|
||||
{
|
||||
|
|
|
@ -58,6 +58,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
#include "libtorrent/config.hpp"
|
||||
#include "libtorrent/torrent_info.hpp"
|
||||
#include "libtorrent/escape_string.hpp" // is_space
|
||||
#include "libtorrent/bencode.hpp"
|
||||
#include "libtorrent/hasher.hpp"
|
||||
#include "libtorrent/entry.hpp"
|
||||
|
@ -407,6 +408,12 @@ namespace libtorrent
|
|||
updating = false;
|
||||
}
|
||||
|
||||
void announce_entry::trim()
|
||||
{
|
||||
while (!url.empty() && is_space(url[0]))
|
||||
url.erase(url.begin());
|
||||
}
|
||||
|
||||
torrent_info::torrent_info(torrent_info const& t)
|
||||
: m_files(t.m_files)
|
||||
, m_orig_files(t.m_orig_files)
|
||||
|
|
Loading…
Reference in New Issue