Adapt to new auto coding style

This commit is contained in:
Alexander Bock
2022-02-10 15:20:21 +01:00
parent 0e49606706
commit 30212b6768
58 changed files with 446 additions and 404 deletions
+3 -4
View File
@@ -51,12 +51,11 @@ documentation::Documentation TimeFrame::Documentation() {
}
ghoul::mm_unique_ptr<TimeFrame> TimeFrame::createFromDictionary(
const ghoul::Dictionary& dictionary)
const ghoul::Dictionary& dict)
{
const Parameters p = codegen::bake<Parameters>(dictionary);
const Parameters p = codegen::bake<Parameters>(dict);
auto factory = FactoryManager::ref().factory<TimeFrame>();
TimeFrame* result = factory->create(p.type, dictionary);
TimeFrame* result = FactoryManager::ref().factory<TimeFrame>()->create(p.type, dict);
result->setIdentifier("TimeFrame");
return ghoul::mm_unique_ptr<TimeFrame>(result);
}