aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-11 22:49:08 +0200
committerMax Kellermann <max@duempel.org>2014-08-11 22:49:08 +0200
commit7cc25f91ffe240720c0692b7c75b9f566882dff0 (patch)
tree2cc4e48f8fa8a4f47ba356022cbd4d705dd449ab /src
parent5d2506e69713cd8fd6086fd574b79e9de5364a4c (diff)
downloadmpd-7cc25f91ffe240720c0692b7c75b9f566882dff0.tar.gz
mpd-7cc25f91ffe240720c0692b7c75b9f566882dff0.tar.xz
mpd-7cc25f91ffe240720c0692b7c75b9f566882dff0.zip
fs/io/Reader: add "nonnull" attribute
Diffstat (limited to 'src')
-rw-r--r--src/fs/io/Reader.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fs/io/Reader.hxx b/src/fs/io/Reader.hxx
index adf7a0667..d41e92dd0 100644
--- a/src/fs/io/Reader.hxx
+++ b/src/fs/io/Reader.hxx
@@ -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;
};