summaryrefslogtreecommitdiff
path: root/asl/format.hpp
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-11-07 23:38:52 +0100
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-12-20 15:35:58 +0100
commitac47be51b79f4c3e49656870e135453eefe759ea (patch)
tree80b2ce06d827ad218e3e76593fc23a71b1d6655c /asl/format.hpp
parent261076b35fe684642da50d3b6208469cf972f269 (diff)
Some more work on asl::string_view
Diffstat (limited to 'asl/format.hpp')
-rw-r--r--asl/format.hpp4
1 files changed, 2 insertions, 2 deletions
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<int64_t N>
+template<isize_t N>
void AslFormat(formatter& f, const char (&str)[N])
{
f.write(str, N - 1);