From: Good Guy Date: Fri, 28 Dec 2018 04:58:34 +0000 (-0700) Subject: workaround for ub16 compiler problem X-Git-Tag: 2019-08~134 X-Git-Url: https://cinelerra-gg.org/git/?a=commitdiff_plain;h=6fa206c4d00a5bb7418289064dd8466ff477f787;p=goodguy%2Fcinelerra.git workaround for ub16 compiler problem --- diff --git a/cinelerra-5.1/cinelerra/edl.C b/cinelerra-5.1/cinelerra/edl.C index 604dff51..102c975b 100644 --- a/cinelerra-5.1/cinelerra/edl.C +++ b/cinelerra-5.1/cinelerra/edl.C @@ -795,11 +795,12 @@ int EDL::clear(double start, double end, return 0; } +class Zone { public: Track *track; int64_t start, end; }; + void EDL::delete_edits(ArrayList *edits, int collapse) { if( session->labels_follow_edits ) delete_edit_labels(edits, collapse); - typedef struct { Track *track; int64_t start, end; } Zone; ArrayList zones; for( int i=0; isize(); ++i ) { Edit *edit = edits->get(i);