summaryrefslogtreecommitdiff
path: root/src/PeerConnection.h
diff options
context:
space:
mode:
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>{});