From: Carl Hetherington Date: Mon, 15 Feb 2021 20:15:37 +0000 (+0100) Subject: Compile fix for ubuntu-16.04-era gcc. X-Git-Tag: v2.15.130~6 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=0ea5770b820c31852e6beb52bd0463c8d28257e6 Compile fix for ubuntu-16.04-era gcc. --- diff --git a/src/lib/player.cc b/src/lib/player.cc index 36d3fde67..a5538d9a6 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -285,9 +285,9 @@ Player::setup_pieces_unlocked () _black = Empty (_film, playlist(), bind(&have_video, _1), _playback_length); _silent = Empty (_film, playlist(), bind(&have_audio, _1), _playback_length); - _last_video_time = {}; + _last_video_time = boost::optional(); _last_video_eyes = Eyes::BOTH; - _last_audio_time = {}; + _last_audio_time = boost::optional(); }