summaryrefslogtreecommitdiff
path: root/src/wx/video_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/video_view.cc')
-rw-r--r--src/wx/video_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/video_view.cc b/src/wx/video_view.cc
index 1c645f11f..ac6357e62 100644
--- a/src/wx/video_view.cc
+++ b/src/wx/video_view.cc
@@ -111,7 +111,7 @@ VideoView::time_until_next_frame () const
{
if (length() == dcpomatic::DCPTime()) {
/* There's no content, so this doesn't matter */
- return optional<int>();
+ return {};
}
auto const next = position() + one_video_frame();