Index: src/plugin/Config.h |
=================================================================== |
--- a/src/plugin/Config.h |
+++ b/src/plugin/Config.h |
@@ -104,11 +104,11 @@ |
#if (defined ENABLE_DEBUG_INFO && defined ENABLE_DEBUG_ERROR) |
#undef DEBUG_ERROR |
-#define DEBUG_ERROR(x) DEBUG_ERROR_FUNC("!!! Error:" + CString(x)); |
+#define DEBUG_ERROR(x) DEBUG_ERROR_FUNC(std::string("!!! Error:") + x); |
sergei
2014/07/08 11:58:34
In defines it's always better to use braces, `(x)`
Eric
2014/07/08 17:46:37
Yep. It's also used exactly once in the code base.
|
#undef DEBUG_ERROR_CODE |
-#define DEBUG_ERROR_CODE(err, x) DEBUG_ERROR_CODE_FUNC(err, "!!! Error:" + CString(x)); |
+#define DEBUG_ERROR_CODE(err, x) DEBUG_ERROR_CODE_FUNC(err, "!!! Error:" + x); |
#undef DEBUG_ERROR_CODE_EX |
-#define DEBUG_ERROR_CODE_EX(err, x, process, thread) DEBUG_ERROR_CODE_FUNC(err, "!!! Error:" + CString(x), process, thread); |
+#define DEBUG_ERROR_CODE_EX(err, x, process, thread) DEBUG_ERROR_CODE_FUNC(err, L"!!! Error:" + x, process, thread); |
#endif |
#undef DEBUG_ERROR_LOG |