summaryrefslogtreecommitdiff
path: root/deimos/core/format.cpp
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-04-13 00:04:42 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-04-13 00:04:48 +0200
commit00143afc01dbca797471181105738042e89f15ae (patch)
treed2b3fa92ed5d17ae5a145758bed637f996cbd501 /deimos/core/format.cpp
parent8db26a7350aad53ed73a127f9b8eb6ef15bf0be1 (diff)
Use string view everywhere
Diffstat (limited to 'deimos/core/format.cpp')
-rw-r--r--deimos/core/format.cpp2
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));
}