mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix naveditor compiler error
Use the global variant instead, as the std variant requires a locale.
This commit is contained in:
parent
99ff9492a8
commit
c116479c37
@ -342,7 +342,7 @@ bool InputGeom::load(rcContext* ctx, const std::string& filepath)
|
||||
|
||||
std::string extension = filepath.substr(extensionPos);
|
||||
std::transform(extension.begin(), extension.end(), extension.begin(),
|
||||
[](unsigned char c) { return char(std::tolower(c)); });
|
||||
[](unsigned char c) { return char(::tolower(c)); });
|
||||
|
||||
if (extension == ".gset")
|
||||
return loadGeomSet(ctx, filepath);
|
||||
|
Loading…
x
Reference in New Issue
Block a user