Skip to content

Commit

Permalink
- fixed compilation with GCC and Clang
Browse files Browse the repository at this point in the history
src/g_mapinfo.cpp:840:58: error: cannot pass objects of non-trivially-copyable type ‘class FString’ through ‘...’
  • Loading branch information
alexey-lysiuk authored and drfrag666 committed May 14, 2019
1 parent 369233c commit b039827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/g_mapinfo.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit b039827

Please sign in to comment.