Common: fix compile error

This commit is contained in:
Lion Kortlepel authored and Lion committed 2021-09-08 19:55:03 +03:00
1 parent 12123582ad
commit 15e5cee166
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}