summaryrefslogtreecommitdiff
path: root/src/lib/writer.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/writer.cc
parentfc888176a978d11e9d5487d3afce33cdf92e1342 (diff)
Try to fix clashes caused by ERROR, WARNING etc. as variables.
Diffstat (limited to 'src/lib/writer.cc')
-rw-r--r--src/lib/writer.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/writer.cc b/src/lib/writer.cc
index b058c2801..b175843ed 100644
--- a/src/lib/writer.cc
+++ b/src/lib/writer.cc
@@ -40,9 +40,9 @@
#include "i18n.h"
-#define LOG_GENERAL(...) _film->log()->log (String::compose (__VA_ARGS__), Log::GENERAL);
-#define LOG_TIMING(...) _film->log()->microsecond_log (String::compose (__VA_ARGS__), Log::TIMING);
-#define LOG_WARNING_NC(...) _film->log()->log (__VA_ARGS__, Log::WARNING);
+#define LOG_GENERAL(...) _film->log()->log (String::compose (__VA_ARGS__), Log::TYPE_GENERAL);
+#define LOG_TIMING(...) _film->log()->microsecond_log (String::compose (__VA_ARGS__), Log::TYPE_TIMING);
+#define LOG_WARNING_NC(...) _film->log()->log (__VA_ARGS__, Log::TYPE_WARNING);
/* OS X strikes again */
#undef set_key