apply clang-tidy modernize-use-override
[folly.git] / folly / io / Compression.h
index e9bcd2a5a38defaf49b7fe2ffafa77d183203552..0a2423bf7d115c305d2ca463a687c5b6e19f0237 100644 (file)
@@ -237,7 +237,7 @@ class Codec {
 
 class StreamCodec : public Codec {
  public:
 
 class StreamCodec : public Codec {
  public:
-  virtual ~StreamCodec() {}
+  ~StreamCodec() override {}
 
   /**
    * Does the codec need the data length before compression streaming?
 
   /**
    * Does the codec need the data length before compression streaming?
@@ -359,7 +359,7 @@ class StreamCodec : public Codec {
  private:
   // default: Implemented using the streaming API.
   std::unique_ptr<IOBuf> doCompress(const folly::IOBuf* data) override;
  private:
   // default: Implemented using the streaming API.
   std::unique_ptr<IOBuf> doCompress(const folly::IOBuf* data) override;
-  virtual std::unique_ptr<IOBuf> doUncompress(
+  std::unique_ptr<IOBuf> doUncompress(
       const folly::IOBuf* data,
       folly::Optional<uint64_t> uncompressedLength) override;
 
       const folly::IOBuf* data,
       folly::Optional<uint64_t> uncompressedLength) override;