Fix windows build
[dcpomatic.git] / src / lib / j2k_image_proxy.cc
index f809c5b3546db4672f79c8e7b68fba71f69c3ee6..303792b80f406e8e8417e401ed646f3410d10f81 100644 (file)
@@ -29,6 +29,7 @@
 #include <dcp/rgb_xyz.h>
 #include <libcxml/cxml.h>
 #include <libxml++/libxml++.h>
+#include <iostream>
 
 #include "i18n.h"
 
@@ -149,3 +150,10 @@ J2KImageProxy::same (shared_ptr<const ImageProxy> other) const
 
        return memcmp (_data.data().get(), jp->_data.data().get(), _data.size()) == 0;
 }
+
+J2KImageProxy::J2KImageProxy (Data data, dcp::Size size)
+       : _data (data)
+       , _size (size)
+{
+
+}