Add final to class

This commit is contained in:
kssenii 2021-05-17 14:38:48 +00:00
parent 26fa920ad5
commit 71fcbefdc7

View File

@ -13,7 +13,7 @@ namespace DB
/** Accepts HDFS path to file and opens it. /** Accepts HDFS path to file and opens it.
* Closes file by himself (thus "owns" a file descriptor). * Closes file by himself (thus "owns" a file descriptor).
*/ */
class WriteBufferFromHDFS : public BufferWithOwnMemory<WriteBuffer> class WriteBufferFromHDFS final : public BufferWithOwnMemory<WriteBuffer>
{ {
struct WriteBufferFromHDFSImpl; struct WriteBufferFromHDFSImpl;
std::unique_ptr<WriteBufferFromHDFSImpl> impl; std::unique_ptr<WriteBufferFromHDFSImpl> impl;
@ -29,7 +29,7 @@ public:
void sync() override; void sync() override;
void finalize() final override; void finalize() override;
}; };
} }
#endif #endif