Fix: Build error with MSVC

noise.cc uses std::min and std::max without
including the algorithm header required.

Newer MSVC versions and GCC implicitly include
it somewhere, which isn't something we should
count on. Best to include what you use.
This commit is contained in:
Ray molenkamp 2021-10-18 19:01:18 -06:00
parent c1d138dd92
commit 482c5f0014
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include <algorithm>
#include <cmath>
#include <cstdint>