Commit 5cd9c993 authored by Harris Hancock's avatar Harris Hancock

Silence compiler warning about non-virtual dtor on non-final class

parent 96105657
......@@ -26,7 +26,7 @@
namespace kj {
class GzipAsyncInputStream: public AsyncInputStream {
class GzipAsyncInputStream final: public AsyncInputStream {
public:
GzipAsyncInputStream(AsyncInputStream& inner);
~GzipAsyncInputStream() noexcept(false);
......@@ -44,7 +44,7 @@ private:
Promise<size_t> readImpl(byte* buffer, size_t minBytes, size_t maxBytes, size_t alreadyRead);
};
class GzipAsyncOutputStream: public AsyncOutputStream {
class GzipAsyncOutputStream final: public AsyncOutputStream {
public:
GzipAsyncOutputStream(AsyncOutputStream& inner, int compressionLevel = Z_DEFAULT_COMPRESSION);
~GzipAsyncOutputStream() noexcept(false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment