[Bf-blender-cvs] [7518adc5bbe] master: Fix: Attempt to fix build error on windows
Hans Goudey
noreply at git.blender.org
Wed Feb 23 19:02:15 CET 2022
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"
More information about the Bf-blender-cvs
mailing list