From 1883b0cebe3fcc978e9a0223a7b82e266f29fb63 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Wed, 16 Jan 2013 11:06:44 +0000 Subject: Fix warning: "const type qualifier on return type has no effect". --- include/inspsocket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/inspsocket.h b/include/inspsocket.h index 6eb7eb584..c62c5a250 100644 --- a/include/inspsocket.h +++ b/include/inspsocket.h @@ -148,7 +148,7 @@ class CoreExport StreamSocket : public EventHandler */ bool GetNextLine(std::string& line, char delim = '\n'); /** Useful for implementing sendq exceeded */ - inline const size_t getSendQSize() const { return sendq_len; } + inline size_t getSendQSize() const { return sendq_len; } /** * Close the socket, remove from socket engine, etc -- cgit v1.2.3