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

chore(codestyle): mark virtual methods as override

This commit is contained in:
Aleksei Antipovskii
2024-09-12 12:27:02 +02:00
committed by Leonid Fedorov
parent ad80ab40aa
commit 0ab03c7258
303 changed files with 4085 additions and 4886 deletions

View File

@ -25,7 +25,7 @@
#include <stdint.h>
#include <sstream>
#include <limits>
//#define NDEBUG
// #define NDEBUG
#include <cassert>
using namespace std;
@ -77,9 +77,7 @@ class CacheOpThread
CacheOpThread(const string& svr, const ByteStream& outBs) : fServerName(svr), fOutBs(outBs)
{
}
~CacheOpThread()
{
}
~CacheOpThread() = default;
void operator()()
{
struct timespec ts = {10, 0};
@ -89,7 +87,7 @@ class CacheOpThread
try
{
cl->write(fOutBs);
rc = extractRespCode(cl->read(&ts));
rc = extractRespCode(*cl->read(&ts));
}
catch (...)
{
@ -343,7 +341,7 @@ int purgePrimProcFdCache(const std::vector<BRM::FileInfo> files, const int pmId)
oss << "PMS" << pmId;
scoped_ptr<MessageQueueClient> cl(new MessageQueueClient(oss.str()));
cl->write(bs);
rc = extractRespCode(cl->read(&ts));
rc = extractRespCode(*cl->read(&ts));
}
catch (...)
{
@ -353,4 +351,3 @@ int purgePrimProcFdCache(const std::vector<BRM::FileInfo> files, const int pmId)
return rc;
}
} // namespace cacheutils