summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobin Burchell <viroteck@viroteck.net>2013-01-16 03:18:13 -0800
committerRobin Burchell <viroteck@viroteck.net>2013-01-16 03:18:13 -0800
commita76167642ddfce2cd77798b519272035c55b15f9 (patch)
tree91a5cf2c1d02de0d7f2cf241290dff45b5d6e6c7 /include
parentee5e5aa77574a8e2cf9d142ccecf76de1fe72eb6 (diff)
parent1883b0cebe3fcc978e9a0223a7b82e266f29fb63 (diff)
Merge pull request #403 from SaberUK/insp20+wextra-fixes
Fix warning: "const type qualifier on return type has no effect".
Diffstat (limited to 'include')
-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