projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b42ff88
)
const fix.
author
Carl Hetherington
<cth@carlh.net>
Sat, 26 Sep 2015 22:28:06 +0000
(23:28 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 26 Sep 2015 22:28:06 +0000
(23:28 +0100)
src/lib/dcpomatic_time.h
patch
|
blob
|
history
diff --git
a/src/lib/dcpomatic_time.h
b/src/lib/dcpomatic_time.h
index 792eb2c97cb9c793762a701d4a1cd5c32606ab51..7d755a46cf1a7e53a826f3f7ddd1f596b35ccc81 100644
(file)
--- 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));