Codefix f60b3d7f79: compilation failure using GCC-12
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
*/
|
||||
static bool CheckAPIVersion(const std::string &api_version)
|
||||
{
|
||||
return std::ranges::find(GameInfo::ApiVersions, api_version) != GameInfo::ApiVersions.end();
|
||||
return std::ranges::find(GameInfo::ApiVersions, api_version) != std::end(GameInfo::ApiVersions);
|
||||
}
|
||||
|
||||
#if defined(_WIN32)
|
||||
|
||||
Reference in New Issue
Block a user