From b0398273e2d43e027942cfd41f81b2317ce4b4ab Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Fri, 3 May 2019 12:41:51 +0300 Subject: [PATCH] - fixed compilation with GCC and Clang MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit src/g_mapinfo.cpp:840:58: error: cannot pass objects of non-trivially-copyable type ‘class FString’ through ‘...’ --- src/g_mapinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_mapinfo.cpp b/src/g_mapinfo.cpp index a79827d8478..2a2583e3929 100644 --- a/src/g_mapinfo.cpp +++ b/src/g_mapinfo.cpp @@ -832,7 +832,7 @@ void FMapInfoParser::ParseCluster() auto fn = Wads.GetWadName(fileno); if (fn && (!stricmp(fn, "HEXEN.WAD") || !stricmp(fn, "HEXDD.WAD"))) { - FStringf key("TXT_%.5s_%s", fn, clusterinfo->ExitText); + FStringf key("TXT_%.5s_%s", fn, clusterinfo->ExitText.GetChars()); if (GStrings.exists(key)) { clusterinfo->ExitText = key;