C++11 tidying.
[dcpomatic.git] / src / wx / video_view.cc
index 1c645f11f688bd6adab4924c07ad9b0fcd25811c..ac6357e62444ae805b28d4a21116762fd35b6133 100644 (file)
@@ -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();