mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-20 01:01:10 -05:00
Cleanup for coding style
Add strict mode to check_style_guide script
This commit is contained in:
@@ -37,7 +37,7 @@ std::unique_ptr<Decoder> Decoder::createFromDictionary(
|
||||
ghoul::TemplateFactory<Decoder>* factory = FactoryManager::ref().factory<Decoder>();
|
||||
std::unique_ptr<Decoder> result = factory->create(type, dictionary);
|
||||
|
||||
if (result == nullptr) {
|
||||
if (!result) {
|
||||
throw ghoul::RuntimeError(
|
||||
"Failed creating payload object of type '" + type + '"',
|
||||
"Decoder"
|
||||
@@ -47,5 +47,5 @@ std::unique_ptr<Decoder> Decoder::createFromDictionary(
|
||||
}
|
||||
|
||||
Decoder::~Decoder() {}
|
||||
|
||||
|
||||
} // namespace openspace
|
||||
|
||||
Reference in New Issue
Block a user