mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2026-06-18 20:20:54 +00:00
Common: fix compile error
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ std::array<int, 3> Application::VersionStrToInts(const std::string& str) {
|
|||||||
for (int& i : Version) {
|
for (int& i : Version) {
|
||||||
std::string Part;
|
std::string Part;
|
||||||
std::getline(ss, 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;
|
return Version;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user