summaryrefslogtreecommitdiff
path: root/src/PeerConnection.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-05-15 23:40:09 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-05-15 23:40:52 +0900
commita7237c69f7befce7af174087bf770acd0187fb9b (patch)
treec91ede2c506785956c55bfad0dce82a0c73ceea2 /src/PeerConnection.h
parentcc8375f0b04918ace028bf58e09f9e25a0440c23 (diff)
Refactor BitTorrent message buffer usage
Diffstat (limited to 'src/PeerConnection.h')
-rw-r--r--src/PeerConnection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PeerConnection.h b/src/PeerConnection.h
index 6571fe65..0779301a 100644
--- a/src/PeerConnection.h
+++ b/src/PeerConnection.h
@@ -95,7 +95,7 @@ public:
// Pushes data into send buffer. After this call, this object gets
// ownership of data, so caller must not delete or alter it.
- void pushBytes(unsigned char* data, size_t len,
+ void pushBytes(std::vector<unsigned char> data,
std::unique_ptr<ProgressUpdate> progressUpdate =
std::unique_ptr<ProgressUpdate>{});