13
0

Use C++11-style initialization of Editor.last_event_time

This commit is contained in:
Alejandro Domínguez 2024-08-31 02:54:41 +02:00 committed by Robin Gareus
parent 0cf73d459b
commit f41d7514b0
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -374,7 +374,7 @@ Editor::Editor ()
, ignore_gui_changes (false) , ignore_gui_changes (false)
, _drags (new DragManager (this)) , _drags (new DragManager (this))
, lock_dialog (0) , lock_dialog (0)
/* , last_event_time { 0, 0 } */ /* this initialization style requires C++11 */ , last_event_time { 0, 0 }
, _dragging_playhead (false) , _dragging_playhead (false)
, ignore_map_change (false) , ignore_map_change (false)
, _follow_playhead (true) , _follow_playhead (true)
@ -472,9 +472,6 @@ Editor::Editor ()
_have_idled = false; _have_idled = false;
last_event_time.tv_sec = 0;
last_event_time.tv_usec = 0;
selection_op_history.clear(); selection_op_history.clear();
before.clear(); before.clear();