Get DragonDB to compile with clang.

While at it, fix some compile warnings, 2 of them are actual bugs
(missing virtual d'tor).

Signed-off-by: chakaz <chakaz@chakaz>
This commit is contained in:
chakaz 2023-03-17 23:37:50 +02:00 committed by Roman Gershman
parent bb78c6eae3
commit 9add31e20f
11 changed files with 10 additions and 15 deletions

View file

@ -69,7 +69,7 @@ std::string MallocStats(bool backing, unsigned tid) {
} // namespace
MemoryCmd::MemoryCmd(ServerFamily* owner, ConnectionContext* cntx) : sf_(*owner), cntx_(cntx) {
MemoryCmd::MemoryCmd(ServerFamily* owner, ConnectionContext* cntx) : cntx_(cntx) {
}
void MemoryCmd::Run(CmdArgList args) {