diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-12-21 01:45:48 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-12-21 01:45:48 +0000 |
| commit | 8e0e4e9d075595fea5169cd7d47587d7c6970d2c (patch) | |
| tree | 0efc3a8514a3b0433114489b904786355fbdae2e /src | |
| parent | a6b4d082c90c116ea7c666752d21e884e77b41ba (diff) | |
Second part of defaulting reel number to 1.
Diffstat (limited to 'src')
| -rw-r--r-- | src/subtitle_content.cc | 6 | ||||
| -rw-r--r-- | src/subtitle_content.h | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/subtitle_content.cc b/src/subtitle_content.cc index c22cc4ec..b074afa8 100644 --- a/src/subtitle_content.cc +++ b/src/subtitle_content.cc @@ -42,6 +42,12 @@ using boost::function; using boost::dynamic_pointer_cast; using namespace dcp; +SubtitleContent::SubtitleContent () + : _reel_number ("1") +{ + +} + SubtitleContent::SubtitleContent (boost::filesystem::path file) : Content (file) , _reel_number ("1") diff --git a/src/subtitle_content.h b/src/subtitle_content.h index d5153a4c..349a69c8 100644 --- a/src/subtitle_content.h +++ b/src/subtitle_content.h @@ -39,7 +39,7 @@ class Subtitle; class SubtitleContent : public Content { public: - SubtitleContent () {} + SubtitleContent (); SubtitleContent (boost::filesystem::path file); bool equals ( |
