fs/io/Reader: add "nonnull" attribute

This commit is contained in:
Max Kellermann 2014-08-11 22:49:08 +02:00
parent 5d2506e697
commit 7cc25f91ff

View File

@ -45,6 +45,7 @@ public:
* @return the number of bytes read into the given buffer or 0
* on error/end-of-stream
*/
gcc_nonnull_all
virtual size_t Read(void *data, size_t size, Error &error) = 0;
};