summaryrefslogtreecommitdiff
path: root/src/verify.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-21 10:56:07 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-21 19:19:49 +0100
commit9691fc54fa6a3409520a1a42e6eeb8e6a235f5f6 (patch)
tree283fbd5aab1b8b5e15ee388a18a32d1d7145b283 /src/verify.h
parent76e3325a16cdf6d7220a61e2b5cfdb9c804cc32c (diff)
Some more use of enum class.
Diffstat (limited to 'src/verify.h')
-rw-r--r--src/verify.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/verify.h b/src/verify.h
index ad733b01..b6722143 100644
--- a/src/verify.h
+++ b/src/verify.h
@@ -48,10 +48,10 @@ public:
/* I've been unable to make mingw happy with ERROR as a symbol, so
I'm using a VERIFY_ prefix here.
*/
- enum Type {
- VERIFY_ERROR,
- VERIFY_BV21_ERROR, ///< may not always be considered an error, but violates a "shall" requirement of Bv2.1
- VERIFY_WARNING
+ enum class Type {
+ ERROR,
+ BV21_ERROR, ///< may not always be considered an error, but violates a "shall" requirement of Bv2.1
+ WARNING
};
/** Codes for errors or warnings from verifying DCPs.
@@ -74,7 +74,7 @@ public:
* Comments should clarify meaning and also say which of the optional fields (e.g. file)
* are filled in when this code is used.
*/
- enum Code {
+ enum class Code {
/** An error when reading the DCP.
* note contains (probably technical) details.
*/