Commit: 009acfa477bbb52560b05006d9b950e014e91d9b Author: Omar Emara Date: Tue Oct 11 16:22:14 2022 +0200 Branches: master https://developer.blender.org/rB009acfa477bbb52560b05006d9b950e014e91d9b
Cleanup: Add missing include for parallel reduction The parallel reduction file didn't include its own header, which can yield "no previous declaration" warnings. This patch includes the header to fix the warning. =================================================================== M source/blender/compositor/realtime_compositor/CMakeLists.txt M source/blender/compositor/realtime_compositor/algorithms/intern/algorithm_parallel_reduction.cc =================================================================== diff --git a/source/blender/compositor/realtime_compositor/CMakeLists.txt b/source/blender/compositor/realtime_compositor/CMakeLists.txt index 5473a253241..90cbe0988ad 100644 --- a/source/blender/compositor/realtime_compositor/CMakeLists.txt +++ b/source/blender/compositor/realtime_compositor/CMakeLists.txt @@ -2,6 +2,7 @@ set(INC . + ./algorithms ../../blenkernel ../../blenlib ../../gpu diff --git a/source/blender/compositor/realtime_compositor/algorithms/intern/algorithm_parallel_reduction.cc b/source/blender/compositor/realtime_compositor/algorithms/intern/algorithm_parallel_reduction.cc index 7b571f381c6..3266ccd14eb 100644 --- a/source/blender/compositor/realtime_compositor/algorithms/intern/algorithm_parallel_reduction.cc +++ b/source/blender/compositor/realtime_compositor/algorithms/intern/algorithm_parallel_reduction.cc @@ -12,6 +12,8 @@ #include "COM_context.hh" #include "COM_utilities.hh" +#include "COM_algorithm_parallel_reduction.hh" + namespace blender::realtime_compositor { /* Reduces the given texture into a single value and returns it. The return value should be freed _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs