From 10dd74c016530a10754cb559d24b4270da8a2417 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Thu, 11 Jun 2015 01:15:31 -0400 Subject: [PATCH] NotificationEngine: Fix -Weffc++ warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes warning: ‘Overlay::NotificationEngine::escape_key_string’ should be initialized in the member initialization list. Signed-off-by: Anders Kaseorg --- src/frontend/terminaloverlay.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/frontend/terminaloverlay.cc b/src/frontend/terminaloverlay.cc index 6cdb0dd..ccb33be 100644 --- a/src/frontend/terminaloverlay.cc +++ b/src/frontend/terminaloverlay.cc @@ -166,6 +166,7 @@ void ConditionalCursorMove::apply( Framebuffer &fb, uint64_t confirmed_epoch ) c NotificationEngine::NotificationEngine() : last_word_from_server( timestamp() ), last_acked_state( timestamp() ), + escape_key_string(), message(), message_is_network_exception( false ), message_expiration( -1 ),