From ac47be51b79f4c3e49656870e135453eefe759ea Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Thu, 7 Nov 2024 23:38:52 +0100 Subject: Some more work on asl::string_view --- asl/format.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'asl/format.hpp') diff --git a/asl/format.hpp b/asl/format.hpp index aad9d65..eb8379a 100644 --- a/asl/format.hpp +++ b/asl/format.hpp @@ -52,7 +52,7 @@ public: {} // @Todo Use string_view - constexpr void write(const char* s, int64_t len) + constexpr void write(const char* s, isize_t len) { m_writer->write(s, len); } @@ -76,7 +76,7 @@ void format(writer* w, const char* fmt, const Args&... args) } } -template +template void AslFormat(formatter& f, const char (&str)[N]) { f.write(str, N - 1); -- cgit