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:
@@ -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 ),
|
||||||
|
|||||||
Reference in New Issue
Block a user