diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-04-07 23:51:19 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-04-07 23:51:19 +0200 |
| commit | 769d56b7f3b2fe78036b4ba12c0cfe71734b379d (patch) | |
| tree | 59f72706610788177cef5988e7f292b44bc00ab1 /src/lib/video_examiner.h | |
| parent | c925af666ba85be7c594f2aff1361b4cb9824ab2 (diff) | |
Cleanup: tidying.
Diffstat (limited to 'src/lib/video_examiner.h')
| -rw-r--r-- | src/lib/video_examiner.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/video_examiner.h b/src/lib/video_examiner.h index c56530448..86dd9345a 100644 --- a/src/lib/video_examiner.h +++ b/src/lib/video_examiner.h @@ -48,7 +48,7 @@ public: virtual Frame video_length () const = 0; /** @return video sample aspect ratio (if known); must not be called if has_video() == false */ virtual boost::optional<double> sample_aspect_ratio () const { - return boost::optional<double> (); + return {}; } /** @return true if this video is in YUV; must not be called if has_video() == false */ virtual bool yuv () const = 0; |
