From 9315b4fb51b86a81358cca843ba2c231d3cf1f0a Mon Sep 17 00:00:00 2001 From: lawnjelly Date: Thu, 18 Nov 2021 07:42:00 +0000 Subject: [PATCH] BVH - fix typename compiler warning Some versions of microsoft compiler flag a warning that they want a typename keyword in templates in more places than clang / gcc. --- core/math/bvh_abb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/math/bvh_abb.h b/core/math/bvh_abb.h index bd9a01a87e3..bf1f07fb714 100644 --- a/core/math/bvh_abb.h +++ b/core/math/bvh_abb.h @@ -104,7 +104,7 @@ struct BVH_ABB { return (get_proximity_to(p_a) < get_proximity_to(p_b) ? 0 : 1); } - uint32_t find_cutting_planes(const BVH_ABB::ConvexHull &p_hull, uint32_t *p_plane_ids) const { + uint32_t find_cutting_planes(const typename BVH_ABB::ConvexHull &p_hull, uint32_t *p_plane_ids) const { uint32_t count = 0; for (int n = 0; n < p_hull.num_planes; n++) {