summaryrefslogtreecommitdiff
path: root/src/lib/video_examiner.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-04-07 23:51:19 +0200
committerCarl Hetherington <cth@carlh.net>2022-04-07 23:51:19 +0200
commit769d56b7f3b2fe78036b4ba12c0cfe71734b379d (patch)
tree59f72706610788177cef5988e7f292b44bc00ab1 /src/lib/video_examiner.h
parentc925af666ba85be7c594f2aff1361b4cb9824ab2 (diff)
Cleanup: tidying.
Diffstat (limited to 'src/lib/video_examiner.h')
-rw-r--r--src/lib/video_examiner.h2
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;