mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-29 23:39:26 -05:00
Code Cleanup (#2191)
* constexpr const -> constexpr * const char* -> std::string_view
This commit is contained in:
@@ -33,7 +33,7 @@ namespace openspace {
|
||||
|
||||
std::unique_ptr<Decoder> Decoder::createFromDictionary(
|
||||
const ghoul::Dictionary& dictionary,
|
||||
const std::string& type)
|
||||
std::string_view type)
|
||||
{
|
||||
ghoul::TemplateFactory<Decoder>* factory = FactoryManager::ref().factory<Decoder>();
|
||||
Decoder* result = factory->create(type, dictionary);
|
||||
|
||||
Reference in New Issue
Block a user