From d1df2bce56275e1297d94d82d4dbef6f6cf582b6 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Wed, 12 Jul 2017 14:41:52 +0100 Subject: 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. --- include/inspsocket.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/inspsocket.h') 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 -- cgit v1.2.3