Changed predicate type for scene graph traverse to std::function
This commit is contained in:
parent
b0d3d3a6c5
commit
e58bb4f061
|
@ -99,7 +99,7 @@ namespace SHADE
|
|||
|
||||
using EntityNodeMap = std::unordered_map<EntityID, SHSceneNode*>;
|
||||
|
||||
using UnaryPredicate = void (*)(SHSceneNode*);
|
||||
using UnaryPredicate = std::function<void(SHSceneNode*)>;
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------------*/
|
||||
|
|
Loading…
Reference in New Issue