filter/Filter: document that Flush() can throw

This commit is contained in:
Max Kellermann 2019-08-26 21:01:58 +02:00
parent 4fabfdabde
commit 4f5c3b349d

View File

@ -66,6 +66,8 @@ public:
/** /**
* Flush pending data and return it. This should be called * Flush pending data and return it. This should be called
* repeatedly until it returns nullptr. * repeatedly until it returns nullptr.
*
* Throws on error.
*/ */
virtual ConstBuffer<void> Flush(); virtual ConstBuffer<void> Flush();
}; };