From 4f5c3b349decabbd79924ce543381bc406ac39af Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 26 Aug 2019 21:01:58 +0200 Subject: [PATCH] filter/Filter: document that Flush() can throw --- src/filter/Filter.hxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/filter/Filter.hxx b/src/filter/Filter.hxx index 532308c71..1403b7a9c 100644 --- a/src/filter/Filter.hxx +++ b/src/filter/Filter.hxx @@ -66,6 +66,8 @@ public: /** * Flush pending data and return it. This should be called * repeatedly until it returns nullptr. + * + * Throws on error. */ virtual ConstBuffer Flush(); };