[Bf-blender-cvs] [67fa8d2307a] master: Fix: Build error with msvc

Ray Molenkamp noreply at git.blender.org
Sun Nov 17 17:10:04 CET 2019


Commit: 67fa8d2307a6b41c5bbbbfc79f96af6135c360fe
Author: Ray Molenkamp
Date:   Sun Nov 17 09:09:58 2019 -0700
Branches: master
https://developer.blender.org/rB67fa8d2307a6b41c5bbbbfc79f96af6135c360fe

Fix: Build error with msvc

std::min requires the algorithm header

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

M	extern/audaspace/src/respec/ChannelMapperReader.cpp

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

diff --git a/extern/audaspace/src/respec/ChannelMapperReader.cpp b/extern/audaspace/src/respec/ChannelMapperReader.cpp
index e0063d5c4a2..6558d2444f5 100644
--- a/extern/audaspace/src/respec/ChannelMapperReader.cpp
+++ b/extern/audaspace/src/respec/ChannelMapperReader.cpp
@@ -18,6 +18,7 @@
 
 #include <cmath>
 #include <limits>
+#include <algorithm>
 
 AUD_NAMESPACE_BEGIN



More information about the Bf-blender-cvs mailing list