1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +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

@ -105,7 +105,7 @@ public:
/** test if this socket is open
*
*/
inline virtual const bool isOpen() const;
inline virtual bool isOpen() const;
/** read a message from the socket
*
@ -180,7 +180,7 @@ public:
fSyncProto = use;
}
const int getConnectionNum() const
int getConnectionNum() const
{
return fSocketParms.sd();
}
@ -199,7 +199,7 @@ public:
/** compare 2 addresses
*
*/
virtual const bool isSameAddr(const Socket* rhs) const;
virtual bool isSameAddr(const Socket* rhs) const;
/** ping an ip address
*
@ -255,7 +255,7 @@ private:
void doCopy(const InetStreamSocket& rhs);
};
inline const bool InetStreamSocket::isOpen() const
inline bool InetStreamSocket::isOpen() const
{
return (fSocketParms.sd() >= 0);
}