From 59bdd7218c392e286bae443bfe9e2d039faebdf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Neven=20Pra=C5=A1nikar?= Date: Tue, 28 Jan 2025 13:07:44 +0100 Subject: [PATCH] [#10] Still bashing away at the compiler... --- source/game/scripts/manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/game/scripts/manager.cpp b/source/game/scripts/manager.cpp index cd3869f..e865f43 100644 --- a/source/game/scripts/manager.cpp +++ b/source/game/scripts/manager.cpp @@ -412,7 +412,7 @@ void parseFile(Manager* man, File& fl, const std::string& filename, bool cacheFi for(auto iLine = lines.begin(), end = lines.end(); iLine != end; ++iLine) { - std::string& line = *iLine; + std::string line = *iLine; auto lineStart = line.find_first_not_of(" \t"); if(lineStart == std::string::npos) {