diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-04-13 00:04:42 +0200 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-04-13 00:04:48 +0200 |
commit | 00143afc01dbca797471181105738042e89f15ae (patch) | |
tree | d2b3fa92ed5d17ae5a145758bed637f996cbd501 /deimos/core/format.cpp | |
parent | 8db26a7350aad53ed73a127f9b8eb6ef15bf0be1 (diff) |
Use string view everywhere
Diffstat (limited to 'deimos/core/format.cpp')
-rw-r--r-- | deimos/core/format.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deimos/core/format.cpp b/deimos/core/format.cpp index b9a0ca3..af0a851 100644 --- a/deimos/core/format.cpp +++ b/deimos/core/format.cpp @@ -19,7 +19,7 @@ public: m_writer->Write(AsBytes(Span<char>(&c, 1)));
}
- void PushString(Span<const char> str)
+ void PushString(StringView str)
{
m_writer->Write(AsBytes(str));
}
|