Code Cleanup (#2191)

* constexpr const -> constexpr
* const char* -> std::string_view
This commit is contained in:
Alexander Bock
2022-07-25 15:57:45 +02:00
committed by GitHub
parent ea1f4bbf40
commit 9cc4c595a8
267 changed files with 1425 additions and 1565 deletions
@@ -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);