[Bf-blender-cvs] [bd2d7a4a815] master: Fix build error in debug mode due to wrong code in assert

Brecht Van Lommel noreply at git.blender.org
Wed Jan 4 11:24:49 CET 2023


Commit: bd2d7a4a815d814d39b770138cd8133f0b089694
Author: Brecht Van Lommel
Date:   Wed Jan 4 10:43:31 2023 +0100
Branches: master
https://developer.blender.org/rBbd2d7a4a815d814d39b770138cd8133f0b089694

Fix build error in debug mode due to wrong code in assert

===================================================================

M	source/blender/functions/FN_lazy_function_execute.hh

===================================================================

diff --git a/source/blender/functions/FN_lazy_function_execute.hh b/source/blender/functions/FN_lazy_function_execute.hh
index 1d82ac94ee8..5785fddaa51 100644
--- a/source/blender/functions/FN_lazy_function_execute.hh
+++ b/source/blender/functions/FN_lazy_function_execute.hh
@@ -95,7 +95,7 @@ inline void execute_lazy_function_eagerly_impl(
   fn.destruct_storage(context.storage);
 
   /* Make sure all outputs have been computed.  */
-  BLI_assert(!Span(set_outputs).contains(false));
+  BLI_assert(!Span<bool>(set_outputs).contains(false));
 }
 
 }  // namespace detail



More information about the Bf-blender-cvs mailing list