From 295fa5b27ddb09e8c79e0904be95ccd8485e0962 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 7 Jun 2017 09:54:11 +0100 Subject: [PATCH] Use String default ctor instead of empty string --- src/buffer.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buffer.hh b/src/buffer.hh index 64911a14..bfdda041 100644 --- a/src/buffer.hh +++ b/src/buffer.hh @@ -195,7 +195,7 @@ public: ValueMap& values() const { return m_values; } void run_hook_in_own_context(StringView hook_name, StringView param, - String client_name = ""); + String client_name = {}); void reload(StringView data, timespec fs_timestamp = InvalidTime);