Updated the plain-c++ manual test.

This commit is contained in:
Roberto Raggi
2010-08-11 16:12:07 +02:00
parent ceb65a1e62
commit 449347173d

View File

@@ -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();