From 15f57fb7a60b8c88e11ec611c8fd3b1080aae8c8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 15 Dec 2019 00:09:57 +0100 Subject: More adventures in the art of enum namespacing. --- src/verify.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 (¬es); } 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, dcp->cpls()) { -- cgit v1.2.3