summaryrefslogtreecommitdiff
path: root/src/stereo_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/stereo_picture_frame.h
parent11c8f1e595a7d0c1c73b7a80cab22f2c5b92c606 (diff)
Build fixes for some GCC versions.
Diffstat (limited to 'src/stereo_picture_frame.h')
-rw-r--r--src/stereo_picture_frame.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/stereo_picture_frame.h b/src/stereo_picture_frame.h
index 42d88b3f..14c94e2e 100644
--- a/src/stereo_picture_frame.h
+++ b/src/stereo_picture_frame.h
@@ -70,7 +70,10 @@ public:
int right_j2k_size () const;
private:
- friend StereoPictureAssetReader;
+ /* XXX: this is a bit of a shame, but I tried friend StereoPictureAssetReader and it's
+ rejected by some (seemingly older) GCCs.
+ */
+ friend AssetReader<ASDCP::JP2K::MXFSReader, StereoPictureFrame>;
StereoPictureFrame (ASDCP::JP2K::MXFSReader* reader, int n, boost::shared_ptr<DecryptionContext>);