aboutsummaryrefslogtreecommitdiffstats
path: root/common/network/Socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/network/Socket.h')
-rw-r--r--common/network/Socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/network/Socket.h b/common/network/Socket.h
index d38feba4..901bab13 100644
--- a/common/network/Socket.h
+++ b/common/network/Socket.h
@@ -46,7 +46,7 @@ namespace network {
void shutdown();
bool isShutdown() const;
- virtual bool cork(bool enable) = 0;
+ void cork(bool enable) { outstream->cork(enable); }
// information about the remote end of the socket
virtual char* getPeerAddress() = 0; // a string e.g. "192.168.0.1"