From: Victor Grishchenko Date: Wed, 19 May 2010 14:59:58 +0000 (+0200) Subject: method rename X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=5aba855869da1574dd1b0a9bc25684074fc667a5;p=swift-upb.git method rename --- diff --git a/ext/seq_picker.cpp b/ext/seq_picker.cpp index f6d4bbe..05bde2f 100644 --- a/ext/seq_picker.cpp +++ b/ext/seq_picker.cpp @@ -16,7 +16,7 @@ using namespace swift; is introduced to prevent synchronization among multiple channels. */ class SeqPiecePicker : public PiecePicker { - binmap_t ack_hint_out_; + binmap_t ack_hint_out_; tbqueue hint_out_; FileTransfer* transfer_; uint64_t twist_; @@ -25,7 +25,7 @@ public: SeqPiecePicker (FileTransfer* file_to_pick_from) : transfer_(file_to_pick_from), ack_hint_out_(), twist_(0) { - ack_hint_out_.copy_range(file().ack_out(),bin64_t::ALL); + ack_hint_out_.range_copy(file().ack_out(),bin64_t::ALL); } virtual ~SeqPiecePicker() {} @@ -39,7 +39,7 @@ public: virtual bin64_t Pick (binmap_t& offer, uint64_t max_width, tint expires) { while (hint_out_.size() && hint_out_.front().timemax_width)