diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/mxf.h | 2 | ||||
| -rw-r--r-- | src/reel_mxf.h | 2 | ||||
| -rw-r--r-- | src/ref.h | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -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. diff --git a/src/reel_mxf.h b/src/reel_mxf.h index 6989a81f..4235392e 100644 --- a/src/reel_mxf.h +++ b/src/reel_mxf.h @@ -51,7 +51,7 @@ public: * that its content is encrypted. */ bool encrypted () const { - return _key_id; + return static_cast<bool>(_key_id); } /** @return Key ID to describe the key that encrypts this asset's @@ -108,7 +108,7 @@ public: /** @return true if a shared_ptr is known for this Ref */ bool resolved () const { - return _object; + return static_cast<bool>(_object); } private: |
