aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/Socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/Socket.h')
-rw-r--r--contrib/Socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/Socket.h b/contrib/Socket.h
index b342d8b..84def40 100644
--- a/contrib/Socket.h
+++ b/contrib/Socket.h
@@ -300,7 +300,7 @@ class TCPSendClient {
/* Throws a runtime_error on error
*/
- void sendall(std::vector<uint8_t>&& buffer);
+ void sendall(const std::vector<uint8_t>& buffer);
private:
void process();