summaryrefslogtreecommitdiff
path: root/src/lib/log.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-05-21 22:34:49 +0100
committerCarl Hetherington <cth@carlh.net>2014-05-21 22:34:49 +0100
commit2935d9d158cf35496a35107f9c4ab7d2929cf6c3 (patch)
treeded31322feaf0279962127ab45e072b4bc3c1f72 /src/lib/log.h
parentfc888176a978d11e9d5487d3afce33cdf92e1342 (diff)
Try to fix clashes caused by ERROR, WARNING etc. as variables.
Diffstat (limited to 'src/lib/log.h')
-rw-r--r--src/lib/log.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/log.h b/src/lib/log.h
index 641ce186d..c11daf617 100644
--- a/src/lib/log.h
+++ b/src/lib/log.h
@@ -37,10 +37,10 @@ public:
Log ();
virtual ~Log () {}
- static const int GENERAL;
- static const int WARNING;
- static const int ERROR;
- static const int TIMING;
+ static const int TYPE_GENERAL;
+ static const int TYPE_WARNING;
+ static const int TYPE_ERROR;
+ static const int TYPE_TIMING;
void log (std::string message, int type);
void microsecond_log (std::string message, int type);