From f41d7514b084189c45f38e9e3c0a7b8eac1540d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Dom=C3=ADnguez?= Date: Sat, 31 Aug 2024 02:54:41 +0200 Subject: [PATCH] Use C++11-style initialization of Editor.last_event_time --- gtk2_ardour/editor.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index e358292e8a..6a55099cf8 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -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();