mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-24 04:58:59 -05:00
Coding style adaptations
This commit is contained in:
@@ -125,7 +125,8 @@ ghoul::mm_unique_ptr<Renderable> Renderable::createFromDictionary(
|
||||
documentation::testSpecificationAndThrow(Documentation(), dictionary, "Renderable");
|
||||
|
||||
std::string renderableType = dictionary.value<std::string>(KeyType);
|
||||
ghoul::TemplateFactory<Renderable>* factory = FactoryManager::ref().factory<Renderable>();
|
||||
ghoul::TemplateFactory<Renderable>* factory =
|
||||
FactoryManager::ref().factory<Renderable>();
|
||||
ghoul_assert(factory, "Renderable factory did not exist");
|
||||
Renderable* result = factory->create(
|
||||
renderableType,
|
||||
|
||||
Reference in New Issue
Block a user