From 0ea5770b820c31852e6beb52bd0463c8d28257e6 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 15 Feb 2021 21:15:37 +0100 Subject: [PATCH] Compile fix for ubuntu-16.04-era gcc. --- src/lib/player.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } -- 2.30.2