mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-03 00:05:34 +00:00
Common: fix compile error
This commit is contained in:
parent
12123582ad
commit
15e5cee166
@ -35,7 +35,7 @@ std::array<int, 3> Application::VersionStrToInts(const std::string& str) {
|
||||
for (int& i : Version) {
|
||||
std::string Part;
|
||||
std::getline(ss, Part, '.');
|
||||
std::from_chars(Part.begin().base(), Part.end().base(), i);
|
||||
std::from_chars(&*Part.begin(), &*Part.begin() + Part.size(), i);
|
||||
}
|
||||
return Version;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user