summaryrefslogtreecommitdiff
path: root/include/inspsocket.h
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-07-12 15:38:53 +0100
committerGitHub <noreply@github.com>2017-07-12 15:38:53 +0100
commit834c94679b7df475e50d87ccb11311e297a78718 (patch)
tree9716604ae148935501025453751b2923b8dafd7d /include/inspsocket.h
parentc6a508a3da977041909f18f77d6e8fea942512cf (diff)
parentd1df2bce56275e1297d94d82d4dbef6f6cf582b6 (diff)
Merge pull request #1211 from SaberUK/master+override
Add CXX11_OVERRIDE to overridden members that lack it.
Diffstat (limited to 'include/inspsocket.h')
-rw-r--r--include/inspsocket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/inspsocket.h b/include/inspsocket.h
index 751374fdf..95f29ff11 100644
--- a/include/inspsocket.h
+++ b/include/inspsocket.h
@@ -312,7 +312,7 @@ class CoreExport StreamSocket : public EventHandler
*/
virtual void Close();
/** This ensures that close is called prior to destructor */
- virtual CullResult cull();
+ virtual CullResult cull() CXX11_OVERRIDE;
/** Get the IOHook of a module attached to this socket
* @param mod Module whose IOHook to return
@@ -372,7 +372,7 @@ class CoreExport BufferedSocket : public StreamSocket
/** When there is data waiting to be read on a socket, the OnDataReady()
* method is called.
*/
- virtual void OnDataReady() = 0;
+ virtual void OnDataReady() CXX11_OVERRIDE = 0;
/**
* When an outbound connection fails, and the attempt times out, you