Skip to content

Commit

Permalink
Core/Misc: Fix msvc build with version 17.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Shauren committed May 23, 2024
1 parent 95b83b5 commit d8240fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/game/Scripting/ScriptMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ class CreatureGameObjectScriptRegistrySwapHooks
}
};

AIFunctionMapWorker<typename std::decay<decltype(evaluator)>::type> worker(std::move(evaluator));
AIFunctionMapWorker<std::decay_t<decltype(evaluator)>> worker(std::move(evaluator));
TypeContainerVisitor<decltype(worker), MapStoredObjectTypesContainer> containerVisitor(worker);

containerVisitor.Visit(map->GetObjectsStore());
Expand Down

0 comments on commit d8240fb

Please sign in to comment.