missed a line

This commit is contained in:
Green Sky 2024-05-27 11:21:40 +02:00
parent f2f001b190
commit 4bda751f76
No known key found for this signature in database

View File

@ -43,7 +43,6 @@ struct File2I {
// pos -1 means stream, append to last written, or read position (independent, like FILE*s)
virtual bool write(const ByteSpan data, int64_t pos = -1) = 0;
//[[nodiscard]] virtual std::variant<ByteSpan, std::vector<uint8_t>> read(uint64_t size, int64_t pos = -1) = 0;
[[nodiscard]] virtual ByteSpanWithOwnership read(uint64_t size, int64_t pos = -1) = 0;
};