From 5f41e9df386d73fc898fd1685916141c6b5752a4 Mon Sep 17 00:00:00 2001 From: tjwrona1992 <44857895+tjwrona1992@users.noreply.github.com> Date: Sun, 24 Nov 2019 02:12:50 -0500 Subject: [PATCH] Add missing include for std::max to fix VS16.4.0P2 compilation (#10282) * Fix errors where "std::max" was not recognized while compiling with the latest Visual Studio (2019 16.4.0 Preview 2.0) due to a missing "#include" statement. * Ran clang-format. --- src/openrct2/core/MemoryStream.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/openrct2/core/MemoryStream.h b/src/openrct2/core/MemoryStream.h index 18b15dbfd2..3d322a8ffb 100644 --- a/src/openrct2/core/MemoryStream.h +++ b/src/openrct2/core/MemoryStream.h @@ -12,6 +12,8 @@ #include "../common.h" #include "IStream.hpp" +#include + namespace MEMORY_ACCESS { constexpr uint8_t READ = 1 << 0;