summaryrefslogtreecommitdiff
path: root/src/debug.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug.cc')
-rw-r--r--src/debug.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.cc b/src/debug.cc
index c59a9802..5fa9850b 100644
--- a/src/debug.cc
+++ b/src/debug.cc
@@ -16,7 +16,7 @@ void write_debug(StringView str)
return;
}
- static const String debug_buffer_name("*debug*");
+ const StringView debug_buffer_name = "*debug*";
Buffer* buffer = BufferManager::instance().get_buffer_ifp(debug_buffer_name);
if (not buffer)