mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Restrict usage of plain "new".
This commit is contained in:
@@ -42,7 +42,7 @@ class ObjectCompilerTest: public dev::solidity::test::TestCase
|
||||
public:
|
||||
static std::unique_ptr<TestCase> create(Config const& _config)
|
||||
{
|
||||
return std::unique_ptr<TestCase>(new ObjectCompilerTest(_config.filename));
|
||||
return std::make_unique<ObjectCompilerTest>(_config.filename);
|
||||
}
|
||||
|
||||
explicit ObjectCompilerTest(std::string const& _filename);
|
||||
|
||||
Reference in New Issue
Block a user