fixed client_test to use bitfield type

This commit is contained in:
Arvid Norberg 2008-05-28 06:50:11 +00:00
parent 68c31e48dc
commit c7c1a3913e
1 changed files with 2 additions and 1 deletions

View File

@ -65,6 +65,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include "libtorrent/alert_types.hpp" #include "libtorrent/alert_types.hpp"
#include "libtorrent/ip_filter.hpp" #include "libtorrent/ip_filter.hpp"
#include "libtorrent/magnet_uri.hpp" #include "libtorrent/magnet_uri.hpp"
#include "libtorrent/bitfield.hpp"
using boost::bind; using boost::bind;
@ -238,7 +239,7 @@ std::string const& add_suffix(float val)
return ret; return ret;
} }
std::string const& piece_bar(std::vector<bool> const& p, int width) std::string const& piece_bar(libtorrent::bitfield const& p, int width)
{ {
#ifdef ANSI_TERMINAL_COLORS #ifdef ANSI_TERMINAL_COLORS
static const char* lookup[] = static const char* lookup[] =