From 924dd6e5356f401c325a42ccb43607b79027bb59 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 26 Sep 2015 23:28:06 +0100 Subject: const fix. --- src/lib/dcpomatic_time.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/dcpomatic_time.h b/src/lib/dcpomatic_time.h index 792eb2c97..7d755a46c 100644 --- a/src/lib/dcpomatic_time.h +++ b/src/lib/dcpomatic_time.h @@ -116,7 +116,7 @@ public: * at some sampling rate. * @param r Sampling rate. */ - Time round_up (float r) { + Time round_up (float r) const { Type const n = llrintf (HZ / r); Type const a = _t + n - 1; return Time (a - (a % n)); -- cgit v1.2.3