Commit 44934717 authored by Roberto Raggi's avatar Roberto Raggi

Updated the plain-c++ manual test.

parent ceb65a1e
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment