summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-05-02 11:27:14 +0200
committerCarl Hetherington <cth@carlh.net>2021-05-03 01:39:32 +0200
commit52d2940cb94ff59b66bce633189e8fb277a54f72 (patch)
tree65295ae32da7d23defddd2f1399de91053505611 /src/lib
parent273c331ee8c5964c8036afad1e4965f3d7732808 (diff)
C++11 tidying.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/image.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/image.cc b/src/lib/image.cc
index 52e8878ad..03fe49473 100644
--- a/src/lib/image.cc
+++ b/src/lib/image.cc
@@ -102,8 +102,8 @@ dcp::Size
Image::sample_size (int n) const
{
return dcp::Size (
- lrint (ceil(static_cast<double>(size().width) / horizontal_factor (n))),
- lrint (ceil(static_cast<double>(size().height) / vertical_factor (n)))
+ lrint (ceil(static_cast<double>(size().width) / horizontal_factor(n))),
+ lrint (ceil(static_cast<double>(size().height) / vertical_factor(n)))
);
}