mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Code style: use parentheses for creating heap-based objects (#344)
This commit is contained in:
@ -382,7 +382,7 @@ void ERMInterpreter::scanForScripts()
|
||||
if (ext == ".ERM" || ext == ".VERM")
|
||||
{
|
||||
ERMParser ep(dir->path().string());
|
||||
FileInfo * finfo = new FileInfo;
|
||||
FileInfo * finfo = new FileInfo();
|
||||
finfo->filename = dir->path().string();
|
||||
|
||||
std::vector<LineInfo> buf = ep.parseFile();
|
||||
|
Reference in New Issue
Block a user