Commit: 7518adc5bbe25ab8fbac9d42ccf865e6538e044a
Author: Hans Goudey
Date:   Wed Feb 23 13:02:06 2022 -0500
Branches: master
https://developer.blender.org/rB7518adc5bbe25ab8fbac9d42ccf865e6538e044a

Fix: Attempt to fix build error on windows

`index_mask.cc` ends up including this header, but not much else,
the `<algorithm>` include is necessary on Windows for `std::max`.

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

M       source/blender/blenlib/BLI_hash_tables.hh

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

diff --git a/source/blender/blenlib/BLI_hash_tables.hh 
b/source/blender/blenlib/BLI_hash_tables.hh
index 40b20dbd84f..334634613a2 100644
--- a/source/blender/blenlib/BLI_hash_tables.hh
+++ b/source/blender/blenlib/BLI_hash_tables.hh
@@ -8,6 +8,7 @@
  * This file contains code that can be shared between different hash table 
implementations.
  */
 
+#include <algorithm>
 #include <cmath>
 
 #include "BLI_allocator.hh"

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to