summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-12-15 00:09:57 +0100
committerCarl Hetherington <cth@carlh.net>2019-12-22 01:21:00 +0100
commit15f57fb7a60b8c88e11ec611c8fd3b1080aae8c8 (patch)
tree6410f69d36abc51fa3aacf1251ae572bbde32cf7 /src
parent67cba4ee8eba281297af23b3c55a5f8d30fb8363 (diff)
More adventures in the art of enum namespacing.
Diffstat (limited to 'src')
-rw-r--r--src/verify.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/verify.cc b/src/verify.cc
index 89150e2f..ca53a4c1 100644
--- a/src/verify.cc
+++ b/src/verify.cc
@@ -280,7 +280,7 @@ validate_xml (boost::filesystem::path xml_file, boost::filesystem::path xsd_dtd_
notes.push_back (
VerificationNote(
VerificationNote::VERIFY_ERROR,
- VerificationNote::Code::XML_VALIDATION_ERROR,
+ VerificationNote::XML_VALIDATION_ERROR,
i.message(),
xml_file,
i.line()
@@ -345,9 +345,9 @@ dcp::verify (
try {
dcp->read (&notes);
} catch (DCPReadError& e) {
- notes.push_back (VerificationNote(VerificationNote::VERIFY_ERROR, VerificationNote::Code::GENERAL_READ, string(e.what())));
+ notes.push_back (VerificationNote(VerificationNote::VERIFY_ERROR, VerificationNote::GENERAL_READ, string(e.what())));
} catch (XMLError& e) {
- notes.push_back (VerificationNote(VerificationNote::VERIFY_ERROR, VerificationNote::Code::GENERAL_READ, string(e.what())));
+ notes.push_back (VerificationNote(VerificationNote::VERIFY_ERROR, VerificationNote::GENERAL_READ, string(e.what())));
}
BOOST_FOREACH (shared_ptr<CPL> cpl, dcp->cpls()) {