forked from qt-creator/qt-creator
Fix compilation error with C++11: space needed for string concatenation
The error was: filenamevalidatinglineedit.cpp:101:47: error: unable to find string literal operator ‘operator"" SLASHES’ Change-Id: If990dd75a7b2cb4186b81115087c66e0dd1d888b Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
This commit is contained in:
committed by
Eike Ziller
parent
545f9846d5
commit
e638dc8232
@@ -98,7 +98,7 @@ void FileNameValidatingLineEdit::setForceFirstCapitalLetter(bool b)
|
||||
#define SLASHES "/\\"
|
||||
|
||||
static const char notAllowedCharsSubDir[] = ",^@=+{}[]~!?:&*\"|#%<>$\"'();`' ";
|
||||
static const char notAllowedCharsNoSubDir[] = ",^@=+{}[]~!?:&*\"|#%<>$\"'();`' "SLASHES;
|
||||
static const char notAllowedCharsNoSubDir[] = ",^@=+{}[]~!?:&*\"|#%<>$\"'();`' " SLASHES;
|
||||
|
||||
static const char *notAllowedSubStrings[] = {".."};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user