diff options
author | Ray Molenkamp <github@lazydodo.com> | 2022-01-04 17:15:51 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2022-01-04 17:15:51 +0300 |
commit | bbd0c4118bb782947962bbf15e05421d186c87a4 (patch) | |
tree | 24a1f8735e76a137fb43c27e04521ad84f142e1e /intern/opensubdiv/internal | |
parent | 54e2f851a4bc0c48d8e2c4254058593ae9852239 (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/internal')
-rw-r--r-- | intern/opensubdiv/internal/evaluator/patch_map.cc | 1 |
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; |