From 019a91505f4a690268fe8ddcfb8fb733d82d58ac Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 2 Jan 2015 11:55:15 +0000 Subject: [PATCH] Remove unneeded static String --- src/debug.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)