1
0
mirror of synced 2025-01-19 01:24:15 +01:00

fix: Another P2468R2 issue

This commit is contained in:
WerWolv 2023-02-02 21:26:46 +01:00
parent 22ff033b5e
commit 0b576adcf8

View File

@ -492,7 +492,7 @@ namespace hex::plugin::builtin {
for (auto &node : input["nodes"]) {
std::unique_ptr<dp::Node> newNode;
for (auto &entry : nodeEntries) {
if (entry.name == node["type"])
if (entry.name == node["type"].get<std::string>())
newNode = entry.creatorFunction();
}