diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-09-26 23:28:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-09-26 23:28:06 +0100 |
| commit | 924dd6e5356f401c325a42ccb43607b79027bb59 (patch) | |
| tree | 0e5854fa2e91c345a04e28f4e10369bb2658b08f /src/lib/dcpomatic_time.h | |
| parent | b42ff884dd808631859d2f044e8efbd19153937e (diff) | |
const fix.
Diffstat (limited to 'src/lib/dcpomatic_time.h')
| -rw-r--r-- | src/lib/dcpomatic_time.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<S, O> round_up (float r) { + Time<S, O> round_up (float r) const { Type const n = llrintf (HZ / r); Type const a = _t + n - 1; return Time<S, O> (a - (a % n)); |
