Remove some unnecessary includes.
[libdcp.git] / src / mxf.h
index b4efd14f9e1aebf24cbffa8c41af20f795076199..a3ba4b102d0dad9b6803a4d955aa01629c8c2214 100644 (file)
--- a/src/mxf.h
+++ b/src/mxf.h
@@ -28,7 +28,7 @@
 
 namespace ASDCP {
        class AESDecContext;
-       class WriterInfo;
+       struct WriterInfo;
 }
 
 /* Undefine some stuff that the OS X 10.5 SDK defines */
@@ -52,7 +52,7 @@ public:
 
        /** @return true if the data is encrypted */
        bool encrypted () const {
-               return _key_id;
+               return static_cast<bool>(_key_id);
        }
 
        /** Set the ID of the key that is used for encryption/decryption.