summaryrefslogtreecommitdiff
path: root/src/debug.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug.cc')
-rw-r--r--src/debug.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debug.cc b/src/debug.cc
index 7d68fb5b..6d865013 100644
--- a/src/debug.cc
+++ b/src/debug.cc
@@ -7,11 +7,11 @@
namespace Kakoune
{
-void write_debug(const String& str)
+void write_debug(StringView str)
{
if (not BufferManager::has_instance())
{
- fprintf(stderr, "%s\n", str.c_str());
+ fprintf(stderr, "%s\n", (const char*)str.zstr());
return;
}