Use C++11-style initialization of Editor.last_event_time
This commit is contained in:
parent
0cf73d459b
commit
f41d7514b0
@ -374,7 +374,7 @@ Editor::Editor ()
|
||||
, ignore_gui_changes (false)
|
||||
, _drags (new DragManager (this))
|
||||
, lock_dialog (0)
|
||||
/* , last_event_time { 0, 0 } */ /* this initialization style requires C++11 */
|
||||
, last_event_time { 0, 0 }
|
||||
, _dragging_playhead (false)
|
||||
, ignore_map_change (false)
|
||||
, _follow_playhead (true)
|
||||
@ -472,9 +472,6 @@ Editor::Editor ()
|
||||
|
||||
_have_idled = false;
|
||||
|
||||
last_event_time.tv_sec = 0;
|
||||
last_event_time.tv_usec = 0;
|
||||
|
||||
selection_op_history.clear();
|
||||
before.clear();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user