diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-02-18 23:34:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-02-19 09:54:43 +0100 |
| commit | 41121af9e1eb611ebab1f8e8077dbbc7ab3c421a (patch) | |
| tree | 0353bc75cf4f45ec43f33fe487416edf6399fd07 /src/lib/butler.cc | |
| parent | c59a10bcf428154c7d1c9e3fad4469af36bb7d91 (diff) | |
Cleanup: use auto.
Diffstat (limited to 'src/lib/butler.cc')
| -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 b2fbc6c60..dd9874587 100644 --- a/src/lib/butler.cc +++ b/src/lib/butler.cc @@ -138,7 +138,7 @@ Butler::should_run () const { if (_video.size() >= MAXIMUM_VIDEO_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 video buffers reached %1 frames (audio is %2 at %3)", _video.size(), _audio.size(), pos->get())); |
