summaryrefslogtreecommitdiff
path: root/src/verify.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-03-20 00:41:02 +0000
committerCarl Hetherington <cth@carlh.net>2018-03-20 00:41:02 +0000
commit1215fe2471b6d45d61d5ae4e36b1c16c8bca3e0f (patch)
tree8f26f7daf8bbc11fc92467bdb8e0bfa582ab37e2 /src/verify.cc
parent5c677f74d504ee9d8435ce1c14ff16eeb58e1b4b (diff)
Use prefix to avoid ERROR enum.
Diffstat (limited to 'src/verify.cc')
-rw-r--r--src/verify.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/verify.cc b/src/verify.cc
index 76d7c18d..8f850e83 100644
--- a/src/verify.cc
+++ b/src/verify.cc
@@ -59,9 +59,9 @@ dcp::verify (vector<boost::filesystem::path> directories)
try {
i->read (true, &errors);
} catch (DCPReadError& e) {
- notes.push_back (VerificationNote (VerificationNote::ERROR, e.what ()));
+ notes.push_back (VerificationNote (VerificationNote::VERIFY_ERROR, e.what ()));
} catch (XMLError& e) {
- notes.push_back (VerificationNote (VerificationNote::ERROR, e.what ()));
+ notes.push_back (VerificationNote (VerificationNote::VERIFY_ERROR, e.what ()));
}
}