From e369218ae8c5433dfc73c8cc7872bfa32d522ee8 Mon Sep 17 00:00:00 2001 From: Robin Gohmert Date: Sat, 20 Jun 2020 19:28:15 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20error:=20=E2=80=98max=E2=80=99=20was=20no?= =?UTF-8?q?t=20declared=20in=20this=20scope=20(#75)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tier1/KeyValues.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tier1/KeyValues.cpp b/tier1/KeyValues.cpp index a1ea25bb..897d53c0 100644 --- a/tier1/KeyValues.cpp +++ b/tier1/KeyValues.cpp @@ -79,7 +79,7 @@ public: m_errorStack[m_errorIndex] = symName; } m_errorIndex++; - m_maxErrorIndex = max( m_maxErrorIndex, (m_errorIndex-1) ); + m_maxErrorIndex = MAX( m_maxErrorIndex, (m_errorIndex-1) ); return m_errorIndex-1; }