Remove std::function usage from ArrayExtensions

This commit is contained in:
Wojtek Figat
2023-10-02 12:52:44 +02:00
parent 41f005f95b
commit 8bafdb0b78
6 changed files with 11 additions and 13 deletions

View File

@@ -1474,7 +1474,7 @@ bool ModelTool::ImportModel(const String& path, ModelData& meshData, Options& op
// Group meshes that can be merged together
typedef Pair<int32, int32> MeshGroupKey;
const std::function<MeshGroupKey(MeshData* const&)> f = [](MeshData* const& x) -> MeshGroupKey
const Function<MeshGroupKey(MeshData* const&)> f = [](MeshData* const& x) -> MeshGroupKey
{
return MeshGroupKey(x->NodeIndex, x->MaterialSlotIndex);
};