summaryrefslogtreecommitdiff
path: root/test/video_content_scale_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-06-01 01:39:04 +0200
committerCarl Hetherington <cth@carlh.net>2025-06-17 00:04:03 +0200
commitec06811bae7ed4fc6bd80c3154fd473028ee8e13 (patch)
treeb398119a1a84d261ee16b57171652fd8714d657a /test/video_content_scale_test.cc
parent21e9bd77598f7bb4588ca9b16a58667e3340f6d9 (diff)
Pass Ratio around as an object rather than a pointer.
Diffstat (limited to 'test/video_content_scale_test.cc')
-rw-r--r--test/video_content_scale_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/video_content_scale_test.cc b/test/video_content_scale_test.cc
index c82392f81..31e50bb76 100644
--- a/test/video_content_scale_test.cc
+++ b/test/video_content_scale_test.cc
@@ -123,7 +123,7 @@ BOOST_AUTO_TEST_CASE (scaled_size_legacy_test)
/* 640x480 content that the user had asked to be stretched to 1.85:1 */
VideoContent vc (0);
vc._size = dcp::Size(640, 480);
- vc._legacy_ratio = Ratio::from_id("185")->ratio();
+ vc._legacy_ratio = Ratio::from_id("185").ratio();
BOOST_CHECK_EQUAL(*vc.scaled_size(FLAT), FLAT);
}