Add spaces for string concatenation to work around C++11 source incompatibility.
Change-Id: I6acb7dca20d3bfcb24ea798c7ecd1a12464af5a6 Reviewed-by: QTBUG-22847 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
parent
0097d2daba
commit
47304c2c04
@ -213,7 +213,7 @@ Q_CORE_EXPORT const char *qFlagLocation(const char *method);
|
||||
#define QTOSTRING_HELPER(s) #s
|
||||
#define QTOSTRING(s) QTOSTRING_HELPER(s)
|
||||
#ifndef QT_NO_DEBUG
|
||||
# define QLOCATION "\0"__FILE__":"QTOSTRING(__LINE__)
|
||||
# define QLOCATION "\0" __FILE__ ":" QTOSTRING(__LINE__)
|
||||
# ifndef QT_NO_KEYWORDS
|
||||
# define METHOD(a) qFlagLocation("0"#a QLOCATION)
|
||||
# endif
|
||||
|
Loading…
Reference in New Issue
Block a user