summaryrefslogtreecommitdiff
path: root/src/mono_picture_frame.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-09-28 22:11:59 +0100
committerCarl Hetherington <cth@carlh.net>2016-09-28 22:11:59 +0100
commit5ff3c5ae8d983c68506b24b2740c0779832dc448 (patch)
tree0991df04542d56404334923876d678725c329833 /src/mono_picture_frame.h
parent11c8f1e595a7d0c1c73b7a80cab22f2c5b92c606 (diff)
Build fixes for some GCC versions.
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>);