summaryrefslogtreecommitdiff
path: root/src/lib/image_content.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/image_content.h')
-rw-r--r--src/lib/image_content.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/image_content.h b/src/lib/image_content.h
index bc0f33151..6a450ef8f 100644
--- a/src/lib/image_content.h
+++ b/src/lib/image_content.h
@@ -33,6 +33,10 @@ public:
return boost::dynamic_pointer_cast<ImageContent> (Content::shared_from_this ());
};
+ boost::shared_ptr<const ImageContent> shared_from_this () const {
+ return boost::dynamic_pointer_cast<const ImageContent> (Content::shared_from_this ());
+ };
+
void examine (boost::shared_ptr<const Film> film, boost::shared_ptr<Job>);
std::string summary () const;
std::string technical_summary () const;