From 1215fe2471b6d45d61d5ae4e36b1c16c8bca3e0f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 20 Mar 2018 00:41:02 +0000 Subject: Use prefix to avoid ERROR enum. --- src/verify.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/verify.cc') 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 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 ())); } } -- cgit v1.2.3