const fix.
authorCarl Hetherington <cth@carlh.net>
Sat, 26 Sep 2015 22:28:06 +0000 (23:28 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 26 Sep 2015 22:28:06 +0000 (23:28 +0100)
src/lib/dcpomatic_time.h

index 792eb2c97cb9c793762a701d4a1cd5c32606ab51..7d755a46cf1a7e53a826f3f7ddd1f596b35ccc81 100644 (file)
@@ -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));