Commit: 482c5f001449f6bbb57c4d01363600879607099e Author: Ray Molenkamp Date: Mon Oct 18 19:01:18 2021 -0600 Branches: master https://developer.blender.org/rB482c5f001449f6bbb57c4d01363600879607099e
Fix: Build error with MSVC noise.cc uses std::min and std::max without including the algorithm header required. Newer MSVC versions and GCC implicitly include it somewhere, which isn't something we should count on. Best to include what you use. =================================================================== M source/blender/blenlib/intern/noise.cc =================================================================== diff --git a/source/blender/blenlib/intern/noise.cc b/source/blender/blenlib/intern/noise.cc index 812e6ddd181..58b6bb638e9 100644 --- a/source/blender/blenlib/intern/noise.cc +++ b/source/blender/blenlib/intern/noise.cc @@ -46,6 +46,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#include <algorithm> #include <cmath> #include <cstdint> _______________________________________________ Bf-blender-cvs mailing list [email protected] List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs
