NotificationEngine: Fix -Weffc++ warning

Fixes warning: ‘Overlay::NotificationEngine::escape_key_string’ should
be initialized in the member initialization list.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2015-06-11 01:15:31 -04:00
parent d0db0968b1
commit 10dd74c016
+1
View File
@@ -166,6 +166,7 @@ void ConditionalCursorMove::apply( Framebuffer &fb, uint64_t confirmed_epoch ) c
NotificationEngine::NotificationEngine() NotificationEngine::NotificationEngine()
: last_word_from_server( timestamp() ), : last_word_from_server( timestamp() ),
last_acked_state( timestamp() ), last_acked_state( timestamp() ),
escape_key_string(),
message(), message(),
message_is_network_exception( false ), message_is_network_exception( false ),
message_expiration( -1 ), message_expiration( -1 ),