mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-02-11 23:08:38 -06:00
fix: More P2468R2 issues
This commit is contained in:
@@ -219,7 +219,7 @@ namespace hex::plugin::builtin {
|
||||
continue;
|
||||
|
||||
for (const auto &newHash : hashes) {
|
||||
if (newHash->getUnlocalizedName() == hash["type"]) {
|
||||
if (newHash->getUnlocalizedName() == hash["type"].get<std::string>()) {
|
||||
|
||||
auto newFunction = newHash->create(hash["name"]);
|
||||
newFunction.getType()->load(hash["settings"]);
|
||||
|
||||
Reference in New Issue
Block a user