summaryrefslogtreecommitdiff
path: root/src/subtitle_asset.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/subtitle_asset.h')
-rw-r--r--src/subtitle_asset.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/subtitle_asset.h b/src/subtitle_asset.h
index cc27f958..31afecb3 100644
--- a/src/subtitle_asset.h
+++ b/src/subtitle_asset.h
@@ -98,6 +98,10 @@ protected:
: Data (data_, size_)
{}
+ FileData (boost::filesystem::path file_)
+ : Data (file_)
+ {}
+
/** .ttf file that this data was last written to */
mutable boost::optional<boost::filesystem::path> file;
};