diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-03-14 20:24:13 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-04-02 22:19:59 +0200 |
| commit | 4ea552fbdefa096c461c933f09beb1c6d0cc3f8a (patch) | |
| tree | bb62c4541d1e151fd252b748cc15d6e5352a3040 | |
| parent | ef5fba92e71d7f5f3887995d973224c38ef92206 (diff) | |
C++11 tidying.
| -rw-r--r-- | src/lib/butler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/butler.cc b/src/lib/butler.cc index 686fa9f72..de6a65126 100644 --- a/src/lib/butler.cc +++ b/src/lib/butler.cc @@ -149,7 +149,7 @@ Butler::should_run () const if (_audio.size() >= MAXIMUM_AUDIO_READAHEAD * 10) { /* This is way too big */ - optional<DCPTime> pos = _audio.peek(); + auto pos = _audio.peek(); if (pos) { throw ProgrammingError (__FILE__, __LINE__, String::compose ("Butler audio buffers reached %1 frames at %2 (video is %3)", _audio.size(), pos->get(), _video.size())); |
