From 6bf4ea25986d1807fa689405ce6db191fadaa256 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 20 Jan 2022 23:33:34 +0100 Subject: Cleanup: use boost::none. --- src/lib/player.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/player.cc b/src/lib/player.cc index 82f4e30ee..a10654071 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -279,9 +279,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); - _next_video_time = boost::optional(); + _next_video_time = boost::none; _next_video_eyes = Eyes::BOTH; - _next_audio_time = boost::optional(); + _next_audio_time = boost::none; } @@ -1239,9 +1239,9 @@ Player::seek (DCPTime time, bool accurate) _next_video_eyes = Eyes::LEFT; _next_audio_time = time; } else { - _next_video_time = optional(); - _next_video_eyes = optional(); - _next_audio_time = optional(); + _next_video_time = boost::none; + _next_video_eyes = boost::none; + _next_audio_time = boost::none; } _black.set_position (time); -- cgit v1.2.3