From e58bb4f061b508577de744ea994fdfdf46369d5e Mon Sep 17 00:00:00 2001 From: Diren D Bharwani Date: Tue, 27 Sep 2022 17:15:43 +0800 Subject: [PATCH] Changed predicate type for scene graph traverse to std::function --- SHADE_Engine/src/Scene/SHSceneGraph.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SHADE_Engine/src/Scene/SHSceneGraph.h b/SHADE_Engine/src/Scene/SHSceneGraph.h index 39afbb31..3f3ebf92 100644 --- a/SHADE_Engine/src/Scene/SHSceneGraph.h +++ b/SHADE_Engine/src/Scene/SHSceneGraph.h @@ -99,7 +99,7 @@ namespace SHADE using EntityNodeMap = std::unordered_map; - using UnaryPredicate = void (*)(SHSceneNode*); + using UnaryPredicate = std::function; /*---------------------------------------------------------------------------------*/