summaryrefslogtreecommitdiff
path: root/src/verify.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-03-20 00:41:02 +0000
committerCarl Hetherington <cth@carlh.net>2018-03-20 00:41:02 +0000
commit1215fe2471b6d45d61d5ae4e36b1c16c8bca3e0f (patch)
tree8f26f7daf8bbc11fc92467bdb8e0bfa582ab37e2 /src/verify.h
parent5c677f74d504ee9d8435ce1c14ff16eeb58e1b4b (diff)
Use prefix to avoid ERROR enum.
Diffstat (limited to 'src/verify.h')
-rw-r--r--src/verify.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/verify.h b/src/verify.h
index 63f47e28..3538722e 100644
--- a/src/verify.h
+++ b/src/verify.h
@@ -44,10 +44,13 @@ namespace dcp {
class VerificationNote
{
public:
+ /* I've been unable to make mingw happy with ERROR as a symbol, so
+ I'm using a VERIFY_ prefix here.
+ */
enum Type {
- ERROR,
- WARNING,
- NOTE
+ VERIFY_ERROR,
+ VERIFY_WARNING,
+ VERIFY_NOTE
};
VerificationNote (Type type, std::string note)