From 15e5cee1661052fc3fc1e0f12de679c5c5426090 Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Thu, 12 Aug 2021 22:03:52 +0200 Subject: [PATCH] Common: fix compile error --- src/Common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Common.cpp b/src/Common.cpp index 4e8ada5..c4ff45c 100644 --- a/src/Common.cpp +++ b/src/Common.cpp @@ -35,7 +35,7 @@ std::array 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; }