summaryrefslogtreecommitdiff
path: root/include/inspsocket.h
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-07-12 14:41:52 +0100
committerPeter Powell <petpow@saberuk.com>2017-07-12 14:41:52 +0100
commitd1df2bce56275e1297d94d82d4dbef6f6cf582b6 (patch)
tree3b968cb8a2b3b90b74ae0633e2a4a7fa04782d8e /include/inspsocket.h
parentf471083cd0519d47c7c7a09029813ede41994f7b (diff)
Add CXX11_OVERRIDE to overridden members that lack it.
This fixes a ton of warnings when building on compilers that default to C++11 or newer.
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