1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-4030: first commit of warning removals unneed const and missing virtual dtors.

This commit is contained in:
benthompson15
2020-06-23 13:51:36 -05:00
parent 410cf29ff2
commit eac7dab096
64 changed files with 169 additions and 165 deletions

View File

@ -237,7 +237,7 @@ public:
{
return fOtherEnd;
}
EXPORT const bool isAvailable() const
EXPORT bool isAvailable() const
{
return fIsAvailable;
}
@ -267,7 +267,7 @@ public:
/**
* @brief compare the addresses of 2 MessageQueueClient
*/
inline const bool isSameAddr(const MessageQueueClient& rhs) const;
inline bool isSameAddr(const MessageQueueClient& rhs) const;
bool isConnected()
{
@ -316,7 +316,7 @@ inline const std::string MessageQueueClient::addr2String() const
{
return fClientSock.addr2String();
}
inline const bool MessageQueueClient::isSameAddr(const MessageQueueClient& rhs) const
inline bool MessageQueueClient::isSameAddr(const MessageQueueClient& rhs) const
{
return fClientSock.isSameAddr(&rhs.fClientSock);
}