forked from qt-creator/qt-creator
Updated the plain-c++ manual test.
This commit is contained in:
@@ -122,7 +122,7 @@ int runWithNewPreprocessor(int argc, char *argv[])
|
||||
void parse(const char *fileName, const char *source, unsigned size)
|
||||
{
|
||||
Control control;
|
||||
TranslationUnit unit(&control, control.findOrInsertStringLiteral(fileName));
|
||||
TranslationUnit unit(&control, control.stringLiteral(fileName));
|
||||
unit.setSource(source, size);
|
||||
unit.parse();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user