summaryrefslogtreecommitdiff
path: root/src/subtitle_asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-08-13 01:45:42 +0100
committerCarl Hetherington <cth@carlh.net>2012-08-13 01:45:42 +0100
commit4c987f7feb504fe4011b52ffeb231e3b25823de1 (patch)
tree893c852593830fa5fe5a769bf61fcef86d57b9bf /src/subtitle_asset.h
parentc14a05a935886345d4d891a92a31b1c35bf10582 (diff)
Basic subtitle test works.
Diffstat (limited to 'src/subtitle_asset.h')
-rw-r--r--src/subtitle_asset.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/subtitle_asset.h b/src/subtitle_asset.h
index 392d70b4..02db6815 100644
--- a/src/subtitle_asset.h
+++ b/src/subtitle_asset.h
@@ -57,7 +57,7 @@ public:
return _out;
}
- std::list<boost::shared_ptr<Text> > texts () const {
+ std::list<boost::shared_ptr<Text> > const & texts () const {
return _texts;
}
@@ -73,7 +73,7 @@ public:
Font () {}
Font (xmlpp::Node const * node);
- std::list<boost::shared_ptr<Subtitle> > subtitles () const {
+ std::list<boost::shared_ptr<Subtitle> > const & subtitles () const {
return _subtitles;
}
@@ -95,7 +95,7 @@ public:
return _language;
}
- std::list<boost::shared_ptr<Font> > fonts () const {
+ std::list<boost::shared_ptr<Font> > const & fonts () const {
return _fonts;
}