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:
authorRay Molenkamp <github@lazydodo.com>2022-01-04 17:15:51 +0300
committerRay Molenkamp <github@lazydodo.com>2022-01-04 17:15:51 +0300
commitbbd0c4118bb782947962bbf15e05421d186c87a4 (patch)
tree24a1f8735e76a137fb43c27e04521ad84f142e1e /intern/opensubdiv
parent54e2f851a4bc0c48d8e2c4254058593ae9852239 (diff)
Fix: Build issue with MSVC
std::min was used without including the algorithm header. Seems to be implicitly included by something in newer MSVC versions and GCC, however vs16.4 needed a little help here.
Diffstat (limited to 'intern/opensubdiv')
-rw-r--r--intern/opensubdiv/internal/evaluator/patch_map.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/opensubdiv/internal/evaluator/patch_map.cc b/intern/opensubdiv/internal/evaluator/patch_map.cc
index 2ebdb922326..1b10c1118b9 100644
--- a/intern/opensubdiv/internal/evaluator/patch_map.cc
+++ b/intern/opensubdiv/internal/evaluator/patch_map.cc
@@ -23,6 +23,7 @@
// Modifications copyright 2021 Blender Foundation. All rights reserved.
#include "internal/evaluator/patch_map.h"
+#include <algorithm>
using OpenSubdiv::Far::ConstPatchParamArray;
using OpenSubdiv::Far::Index;