Restrict usage of plain "new".

This commit is contained in:
chriseth committed 2019-11-27 17:55:11 +01:00
1 parent 87943bf444
commit 0bb88dabb7
22 files changed
+37 -33

No files matched your search

+1 -1
View File
@@ -933,7 +933,7 @@ bool CommandLineInterface::processInput()
return link();
}
m_compiler.reset(new CompilerStack(fileReader));
m_compiler = make_unique<CompilerStack>(fileReader);
unique_ptr<SourceReferenceFormatter> formatter;
if (m_args.count(g_argNewReporter))