Skip to content

Commit 7e628fe

Browse files
authored
Fixed Linux compilation #2
We apparently still don't have C++14 on Linux Addendum to 34bea4d
1 parent 53b2c89 commit 7e628fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Shared/mods/deathmatch/logic/CMapEventManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ bool CMapEventManager::Delete(CLuaMain* pLuaMain)
107107

108108
void CMapEventManager::DeleteAll(void)
109109
{
110-
Delete([&](const auto&) { return true; });
110+
Delete([&](const std::unique_ptr<CMapEvent>&) { return true; });
111111
}
112112

113113
#ifdef MTA_CLIENT

0 commit comments

Comments
 (0)