Changed predicate type for scene graph traverse to std::function

This commit is contained in:
Diren D Bharwani 2022-09-27 17:15:43 +08:00
parent b0d3d3a6c5
commit e58bb4f061
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ namespace SHADE
using EntityNodeMap = std::unordered_map<EntityID, SHSceneNode*>; using EntityNodeMap = std::unordered_map<EntityID, SHSceneNode*>;
using UnaryPredicate = void (*)(SHSceneNode*); using UnaryPredicate = std::function<void(SHSceneNode*)>;
/*---------------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------------*/