refactor: Use empty() over eof() in the streams interface

End-of-file does not really make sense for streams that wrap buffers. So
replace it by the equivalent empty() checks.
This commit is contained in:
MarcoFalke committed 2026-02-02 17:55:10 +01:00
1 parent fa879db735
commit fa20bc2ec2
5 files changed
+4 -5

No files matched your search

-1
View File
@@ -195,7 +195,6 @@ public:
//
// Stream subset
//
bool eof() const { return size() == 0; }
int in_avail() const { return size(); }
void read(std::span<value_type> dst)