FIXUP: cling/lib/Utils/AST.cpp extra )

This commit is contained in:
Axel Naumann 2016-06-15 11:31:15 +02:00 committed by sftnight
parent 961e00ac2f
commit 00fd3dbc12

View File

@ -249,7 +249,7 @@ namespace utils {
// Keep the argument const to be inline will all the other interfaces
// like: NestedNameSpecifier::Create
ASTContext &mutableCtx( const_cast<ASTContext&>(Ctx) );
arg = TemplateArgument::CreatePackCopy(mutableCtx, desArgs));
arg = TemplateArgument::CreatePackCopy(mutableCtx, desArgs);
}
}
return changed;
@ -876,7 +876,7 @@ namespace utils {
// Keep the argument const to be inline will all the other interfaces
// like: NestedNameSpecifier::Create
ASTContext &mutableCtx( const_cast<ASTContext&>(Ctx) );
arg = TemplateArgument::CreatePackCopy(mutableCtx, desArgs));
arg = TemplateArgument::CreatePackCopy(mutableCtx, desArgs);
}
}
return changed;