summaryrefslogtreecommitdiff
path: root/src/debug.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-01-02 11:55:15 +0000
committerMaxime Coste <frrrwww@gmail.com>2015-01-02 11:55:15 +0000
commit019a91505f4a690268fe8ddcfb8fb733d82d58ac (patch)
treeadfc91af80125ba34579d90f5b5145eaee83030a /src/debug.cc
parent15542c33572b4d7cb59c4b9d94b86f14c1015da1 (diff)
Remove unneeded static String
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)