Add final to some classes

This commit is contained in:
alesapin 2021-02-09 12:05:54 +03:00
parent 229acbad5d
commit cb1194d37a
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ namespace DB
*
* While using this object, no other allocations in arena are possible.
*/
class WriteBufferFromArena : public WriteBuffer
class WriteBufferFromArena final : public WriteBuffer
{
private:
Arena & arena;

View File

@ -1203,7 +1203,7 @@ void DDLWorker::runCleanupThread()
}
class DDLQueryStatusInputStream : public IBlockInputStream
class DDLQueryStatusInputStream final : public IBlockInputStream
{
public:

View File

@ -12,7 +12,7 @@ class Context;
class AccessRightsElements;
class InterpreterKillQueryQuery : public IInterpreter
class InterpreterKillQueryQuery final : public IInterpreter
{
public:
InterpreterKillQueryQuery(const ASTPtr & query_ptr_, Context & context_)