make Loader interface a bit more consistent (#124)
make Loader interface a bit more consistent merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
This commit is contained in:
parent
a20d7143e7
commit
a0ac38fbd7
19 changed files with 94 additions and 74 deletions
|
@ -104,7 +104,7 @@ void main(string[] args) //@safe
|
|||
else { fileWorkingCopy[] = fileInMemory[]; }
|
||||
void[] fileToLoad = reload ? fileInMemory : fileWorkingCopy;
|
||||
|
||||
auto loader = Loader(fileToLoad);
|
||||
auto loader = Loader.fromBuffer(fileToLoad);
|
||||
if(scanOnly)
|
||||
{
|
||||
loader.scanBench();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue