mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 19:19:39 -06:00
Adapt to new auto coding style
This commit is contained in:
@@ -48,7 +48,8 @@ std::unique_ptr<PlanetGeometry> PlanetGeometry::createFromDictionary(
|
||||
{
|
||||
const Parameters p = codegen::bake<Parameters>(dictionary);
|
||||
|
||||
auto factory = FactoryManager::ref().factory<PlanetGeometry>();
|
||||
ghoul::TemplateFactory<PlanetGeometry>* factory =
|
||||
FactoryManager::ref().factory<PlanetGeometry>();
|
||||
|
||||
PlanetGeometry* result = factory->create(p.type, dictionary);
|
||||
return std::unique_ptr<PlanetGeometry>(result);
|
||||
|
||||
Reference in New Issue
Block a user