diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-06-01 01:39:04 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-06-17 00:04:03 +0200 |
| commit | ec06811bae7ed4fc6bd80c3154fd473028ee8e13 (patch) | |
| tree | b398119a1a84d261ee16b57171652fd8714d657a /src/lib/create_cli.h | |
| parent | 21e9bd77598f7bb4588ca9b16a58667e3340f6d9 (diff) | |
Pass Ratio around as an object rather than a pointer.
Diffstat (limited to 'src/lib/create_cli.h')
| -rw-r--r-- | src/lib/create_cli.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 <dcp/types.h> #include <boost/optional.hpp> @@ -28,7 +29,6 @@ class DCPContentType; class Film; -class Ratio; struct create_cli_test; @@ -67,7 +67,7 @@ private: boost::optional<std::string> _template_name; std::string _name; - Ratio const* _container_ratio = nullptr; + boost::optional<Ratio> _container_ratio; bool _no_encrypt = false; bool _encrypt = false; bool _twod = false; |
