Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-02-23 21:02:06 +0300
committerHans Goudey <h.goudey@me.com>2022-02-23 21:02:06 +0300
commit7518adc5bbe25ab8fbac9d42ccf865e6538e044a (patch)
tree2733b445b11c620253a9d9b93c5c34d81d5dd3e1 /source/blender/blenlib/BLI_hash_tables.hh
parent226f0c4fef7e7792c16458cd3e456b169ddce918 (diff)
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`.
Diffstat (limited to 'source/blender/blenlib/BLI_hash_tables.hh')
-rw-r--r--source/blender/blenlib/BLI_hash_tables.hh1
1 files changed, 1 insertions, 0 deletions
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"