summaryrefslogtreecommitdiff
path: root/tools/dcpverify.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-21 10:56:07 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-21 19:19:49 +0100
commit9691fc54fa6a3409520a1a42e6eeb8e6a235f5f6 (patch)
tree283fbd5aab1b8b5e15ee388a18a32d1d7145b283 /tools/dcpverify.cc
parent76e3325a16cdf6d7220a61e2b5cfdb9c804cc32c (diff)
Some more use of enum class.
Diffstat (limited to 'tools/dcpverify.cc')
-rw-r--r--tools/dcpverify.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/dcpverify.cc b/tools/dcpverify.cc
index 138f9ca3..b3ac5f06 100644
--- a/tools/dcpverify.cc
+++ b/tools/dcpverify.cc
@@ -143,18 +143,18 @@ main (int argc, char* argv[])
bool failed = false;
BOOST_FOREACH (dcp::VerificationNote i, notes) {
- if (ignore_bv21_smpte && i.code() == dcp::VerificationNote::INVALID_STANDARD) {
+ if (ignore_bv21_smpte && i.code() == dcp::VerificationNote::Code::INVALID_STANDARD) {
continue;
}
switch (i.type()) {
- case dcp::VerificationNote::VERIFY_ERROR:
+ case dcp::VerificationNote::Type::ERROR:
cout << "Error: " << note_to_string(i) << "\n";
failed = true;
break;
- case dcp::VerificationNote::VERIFY_BV21_ERROR:
+ case dcp::VerificationNote::Type::BV21_ERROR:
cout << "Bv2.1 error: " << note_to_string(i) << "\n";
break;
- case dcp::VerificationNote::VERIFY_WARNING:
+ case dcp::VerificationNote::Type::WARNING:
cout << "Warning: " << note_to_string(i) << "\n";
break;
}