Compress empty strings with underlying compressor
[folly.git] / folly / io / Compression.h
index 462bb5d011b7a097c28e067465681255bc1edfe0..4013e0a24dcc53ec3f3228e7ed46d932c2569030 100644 (file)
@@ -131,9 +131,6 @@ class Codec {
    * Compress data, returning an IOBuf (which may share storage with data).
    * Throws std::invalid_argument if data is larger than
    * maxUncompressedLength().
-   *
-   * Regardless of the behavior of the underlying compressor, compressing
-   * an empty IOBuf chain will return an empty IOBuf chain.
    */
   std::unique_ptr<IOBuf> compress(const folly::IOBuf* data);