summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2013-01-16 11:06:44 +0000
committerPeter Powell <petpow@saberuk.com>2013-01-16 11:13:23 +0000
commit1883b0cebe3fcc978e9a0223a7b82e266f29fb63 (patch)
tree91a5cf2c1d02de0d7f2cf241290dff45b5d6e6c7
parentee5e5aa77574a8e2cf9d142ccecf76de1fe72eb6 (diff)
Fix warning: "const type qualifier on return type has no effect".
-rw-r--r--include/inspsocket.h2
1 files changed, 1 insertions, 1 deletions
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