You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since bool is returned by value, the const is redundant and will throw an ignored-qualifier warning with clang:
[build] build/host/_deps/zeromq-src/src/endpoint.hpp:32:5: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
[build] 32 | const bool clash () const { return local == remote; }
[build] | ^~~~~
The text was updated successfully, but these errors were encountered:
https://github.com/zeromq/libzmq/blame/814dab58a4eea3202d28d7db4fa24c27287c5378/src/endpoint.hpp#L32
Since bool is returned by value, the
const
is redundant and will throw anignored-qualifier
warning with clang:The text was updated successfully, but these errors were encountered: