From 4e1f348abf0d41a6278ef26699c366d33e684241 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 26 Jan 2025 22:38:15 +0200 Subject: [PATCH] Add an explicit cast to satisfy MSVC --- source/geometry/compositeshape.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/geometry/compositeshape.h b/source/geometry/compositeshape.h index aeced4e..eb180e6 100644 --- a/source/geometry/compositeshape.h +++ b/source/geometry/compositeshape.h @@ -173,7 +173,7 @@ inline unsigned CompositeShape::get_intersections(const Ray &ray, n = k; if(i!=shapes.begin()) - start_nesting = (start_nesting>!Ops::shortcircuit(true)); + start_nesting = (start_nesting>static_cast(!Ops::shortcircuit(true))); } if(buffer!=points) -- 2.45.2