diff options
author | Robin Burchell <viroteck@viroteck.net> | 2013-01-16 03:18:13 -0800 |
---|---|---|
committer | Robin Burchell <viroteck@viroteck.net> | 2013-01-16 03:18:13 -0800 |
commit | a76167642ddfce2cd77798b519272035c55b15f9 (patch) | |
tree | 91a5cf2c1d02de0d7f2cf241290dff45b5d6e6c7 | |
parent | ee5e5aa77574a8e2cf9d142ccecf76de1fe72eb6 (diff) | |
parent | 1883b0cebe3fcc978e9a0223a7b82e266f29fb63 (diff) |
Merge pull request #403 from SaberUK/insp20+wextra-fixes
Fix warning: "const type qualifier on return type has no effect".
-rw-r--r-- | include/inspsocket.h | 2 |
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 |