diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-11-07 23:38:52 +0100 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-12-20 15:35:58 +0100 |
commit | ac47be51b79f4c3e49656870e135453eefe759ea (patch) | |
tree | 80b2ce06d827ad218e3e76593fc23a71b1d6655c /asl/format.hpp | |
parent | 261076b35fe684642da50d3b6208469cf972f269 (diff) |
Some more work on asl::string_view
Diffstat (limited to 'asl/format.hpp')
-rw-r--r-- | asl/format.hpp | 4 |
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);
|