summaryrefslogtreecommitdiff
path: root/src/lib/cross.cc
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/cross.cc
parentfc888176a978d11e9d5487d3afce33cdf92e1342 (diff)
Try to fix clashes caused by ERROR, WARNING etc. as variables.
Diffstat (limited to 'src/lib/cross.cc')
-rw-r--r--src/lib/cross.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/cross.cc b/src/lib/cross.cc
index 9247baa97..730cfe1d0 100644
--- a/src/lib/cross.cc
+++ b/src/lib/cross.cc
@@ -46,8 +46,8 @@
#include "i18n.h"
-#define LOG_GENERAL(...) log->log (String::compose (__VA_ARGS__), Log::GENERAL);
-#define LOG_ERROR(...) log->log (String::compose (__VA_ARGS__), Log::ERROR);
+#define LOG_GENERAL(...) log->log (String::compose (__VA_ARGS__), Log::TYPE_GENERAL);
+#define LOG_ERROR(...) log->log (String::compose (__VA_ARGS__), Log::TYPE_ERROR);
using std::pair;
using std::list;