Permalink
Browse files

Merge pull request #403 from SaberUK/insp20+wextra-fixes

Fix warning: "const type qualifier on return type has no effect".
  • Loading branch information...
2 parents ee5e5aa + 1883b0c commit a76167642ddfce2cd77798b519272035c55b15f9 @rburchell rburchell committed Jan 16, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/inspsocket.h
View
2 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

0 comments on commit a761676

Please sign in to comment.