summaryrefslogtreecommitdiff
path: root/src/mono_picture_frame.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mono_picture_frame.h')
-rw-r--r--src/mono_picture_frame.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mono_picture_frame.h b/src/mono_picture_frame.h
index 87c5d6ab..fa4f649b 100644
--- a/src/mono_picture_frame.h
+++ b/src/mono_picture_frame.h
@@ -74,7 +74,10 @@ public:
int j2k_size () const;
private:
- friend MonoPictureAssetReader;
+ /* XXX: this is a bit of a shame, but I tried friend MonoPictureAssetReader and it's
+ rejected by some (seemingly older) GCCs.
+ */
+ friend class AssetReader<ASDCP::JP2K::MXFReader, MonoPictureFrame>;
MonoPictureFrame (ASDCP::JP2K::MXFReader* reader, int n, boost::shared_ptr<DecryptionContext>);