From fb0e1cda0143bbf02c4ba6f0e86b7bb2530115a9 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 7 Apr 2022 23:51:19 +0200 Subject: Cleanup: tidying. --- src/lib/video_content.cc | 2 +- src/lib/video_examiner.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/video_content.cc b/src/lib/video_content.cc index e52444678..2bac01803 100644 --- a/src/lib/video_content.cc +++ b/src/lib/video_content.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2013-2021 Carl Hetherington + Copyright (C) 2013-2022 Carl Hetherington This file is part of DCP-o-matic. 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 sample_aspect_ratio () const { - return boost::optional (); + return {}; } /** @return true if this video is in YUV; must not be called if has_video() == false */ virtual bool yuv () const = 0; -- cgit v1.2.3