io/Reader: add [[nodiscard]]
This commit is contained in:
parent
3032792563
commit
a9ba9a5f92
@ -26,6 +26,7 @@ public:
|
|||||||
* @return the number of bytes read into the given buffer or 0
|
* @return the number of bytes read into the given buffer or 0
|
||||||
* on end-of-stream
|
* on end-of-stream
|
||||||
*/
|
*/
|
||||||
|
[[nodiscard]]
|
||||||
virtual std::size_t Read(std::span<std::byte> dest) = 0;
|
virtual std::size_t Read(std::span<std::byte> dest) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user