summaryrefslogtreecommitdiff
path: root/src/lib/content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-11-06 01:29:06 +0000
committerCarl Hetherington <cth@carlh.net>2015-11-06 01:29:06 +0000
commit188877db5362b9b630588b2dfee4002d71a29372 (patch)
tree69e734955b92f9fb7b72b43209f3423b2966354e /src/lib/content.h
parent9af90d8c2c88b86a2d6b7b9c4e7096e0ba4a4cf0 (diff)
Clean up a bit by using Content::film() more.
Diffstat (limited to 'src/lib/content.h')
-rw-r--r--src/lib/content.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/content.h b/src/lib/content.h
index 14fa3c36a..b91b5778c 100644
--- a/src/lib/content.h
+++ b/src/lib/content.h
@@ -156,9 +156,7 @@ public:
_change_signals_frequent = f;
}
- boost::shared_ptr<const Film> film () const {
- return _film.lock ();
- }
+ boost::shared_ptr<const Film> film () const;
boost::signals2::signal<void (boost::weak_ptr<Content>, int, bool)> Changed;