diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-02-14 22:13:31 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-02-14 22:16:07 +0000 |
| commit | e2a4e0f08c9e8cc82fb20f1cd358897fae46c9ee (patch) | |
| tree | e936e7abbaeb3a07806499f194861525752ab25f /src/encrypted_kdm.h | |
| parent | 4a5ef0b4dc6310c5eb7a35fb1c79541bf856b9a8 (diff) | |
Use a bool instead of an int for disable-forensic-picture and
a optional<int> instead of an int with a magic -1 for
disable-forensic-audio.
Diffstat (limited to 'src/encrypted_kdm.h')
| -rw-r--r-- | src/encrypted_kdm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/encrypted_kdm.h b/src/encrypted_kdm.h index 24e8f060..3ac15864 100644 --- a/src/encrypted_kdm.h +++ b/src/encrypted_kdm.h @@ -110,8 +110,8 @@ private: LocalTime not_valid_before, LocalTime not_valid_after, Formulation formulation, - int disable_forensic_marking_picture, - int disable_forensic_marking_audio, + bool disable_forensic_marking_picture, + boost::optional<int> disable_forensic_marking_audio, std::list<std::pair<std::string, std::string> > key_ids, std::list<std::string> keys ); |
