Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix warning: "const type qualifier on return type has no effect". #403

Merged
merged 1 commit into from

2 participants

@SaberUK

This was detected by Clang when compiling with -Wextra.

@rburchell rburchell merged commit a761676 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
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
Something went wrong with that request. Please try again.