From ec06811bae7ed4fc6bd80c3154fd473028ee8e13 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 1 Jun 2025 01:39:04 +0200 Subject: Pass Ratio around as an object rather than a pointer. --- src/lib/create_cli.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/create_cli.h') diff --git a/src/lib/create_cli.h b/src/lib/create_cli.h index 4767b1aa7..00abf85e5 100644 --- a/src/lib/create_cli.h +++ b/src/lib/create_cli.h @@ -19,6 +19,7 @@ */ +#include "ratio.h" #include "video_frame_type.h" #include #include @@ -28,7 +29,6 @@ class DCPContentType; class Film; -class Ratio; struct create_cli_test; @@ -67,7 +67,7 @@ private: boost::optional _template_name; std::string _name; - Ratio const* _container_ratio = nullptr; + boost::optional _container_ratio; bool _no_encrypt = false; bool _encrypt = false; bool _twod = false; -- cgit v1.2.3