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-15 00:09:57 +0100
commit1cb74ede7f8b169fc5e994fbcf2dbd27dcbb868a (patch)
tree5fdb4ee8473ae2f1c884fd6b7379cb34519f81d1 /src
parent8b7900e2823bf78688ecb8aa6b32a6f12b347ae6 (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()) {