projects
/
libdcp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleanup: force explicit construction of order::Context.
[libdcp.git]
/
src
/
subtitle_asset_internal.h
diff --git
a/src/subtitle_asset_internal.h
b/src/subtitle_asset_internal.h
index 557db2e495f2c48087f40c2b9b22b725e0fb95aa..2d6b6950e83921769284643e5b392aaae65c35e9 100644
(file)
--- a/
src/subtitle_asset_internal.h
+++ b/
src/subtitle_asset_internal.h
@@
-71,6
+71,12
@@
namespace order {
struct Context
{
+ Context(int time_code_rate_, Standard standard_, int spot_number_)
+ : time_code_rate(time_code_rate_)
+ , standard(standard_)
+ , spot_number(spot_number_)
+ {}
+
int time_code_rate;
Standard standard;
int spot_number;