style: remove unnecessary get()

This commit is contained in:
Корней Гедерт 2024-08-14 10:43:39 +04:00
parent e79e41b385
commit f68d6ae853

View File

@ -235,7 +235,7 @@ bool PolFormat::read(std::istream &input, io::RegistryFile *file)
for(const auto &entry : result.instructions) {
auto registryEntry = RegistryEntryAdapter::create(entry, entry.key, entry.value);
if (registryEntry.get()) {
if (registryEntry) {
registry->registryEntries.push_back(std::move(registryEntry));
}
}