Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/Config.h

Issue 5750789393874944: [IE] First round of ATL removal (Closed)
Patch Set: Created June 20, 2014, 9:22 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld