summaryrefslogtreecommitdiff
path: root/asl/io.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'asl/io.hpp')
-rw-r--r--asl/io.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/asl/io.hpp b/asl/io.hpp
index e7d1c9c..9c45624 100644
--- a/asl/io.hpp
+++ b/asl/io.hpp
@@ -2,6 +2,7 @@
#include "asl/integers.hpp"
#include "asl/utility.hpp"
+#include "asl/span.hpp"
namespace asl
{
@@ -13,8 +14,7 @@ public:
ASL_DELETE_COPY_MOVE(writer);
virtual ~writer() = default;
- // @Todo Use string view, or span of bytes?
- virtual void write(const char* str, isize_t len) = 0;
+ virtual void write(span<const byte>) = 0;
};
} // namespace asl