Merge pull request #20228 from ClickHouse/add_some_final_specifiers

Add final to some classes
This commit is contained in:
alexey-milovidov 2021-02-09 23:37:47 +03:00 committed by GitHub
commit ec9808bf63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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_)