From d7474e2aa2904a3d2201c0c4de97d868b4ee4a88 Mon Sep 17 00:00:00 2001 From: Tomer Lev Date: Thu, 10 Nov 2022 19:04:37 +0200 Subject: [PATCH] Removed const, Windows build is now working --- src/ScriptValidation.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ScriptValidation.cc b/src/ScriptValidation.cc index 73942246ea..1555346985 100644 --- a/src/ScriptValidation.cc +++ b/src/ScriptValidation.cc @@ -85,7 +85,7 @@ private: bool NextStmtIsValid() { return stmt_depths[STMT_FOR] > 0 || stmt_depths[STMT_WHILE] > 0; } - std::unordered_map stmt_depths; + std::unordered_map stmt_depths; int hook_depth = 0; };