1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +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

@ -57,7 +57,7 @@ class RWLock_local
class not_excl : public std::exception
{
public:
virtual const char* what() const throw()
const char* what() const noexcept override
{
return "not_excl";
}
@ -66,7 +66,7 @@ class RWLock_local
class wouldblock : public std::exception
{
public:
virtual const char* what() const throw()
const char* what() const noexcept override
{
return "wouldblock";
}
@ -172,10 +172,9 @@ class ScopedRWLock_local
void unlock();
private:
explicit ScopedRWLock_local()
{
}
explicit ScopedRWLock_local(const ScopedRWLock_local&)
explicit ScopedRWLock_local() = default;
ScopedRWLock_local(const ScopedRWLock_local&)
{
}
ScopedRWLock_local& operator=(const ScopedRWLock_local&)