From 2d98b70d29e6ecf9b89a745cd805f9a036e4f338 Mon Sep 17 00:00:00 2001 From: ChristianFeldmann Date: Sun, 28 Jul 2024 22:27:06 +0200 Subject: [PATCH] Compilation fix --- YUViewLib/src/common/Functions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YUViewLib/src/common/Functions.cpp b/YUViewLib/src/common/Functions.cpp index 526bb2158..47ce90f0c 100644 --- a/YUViewLib/src/common/Functions.cpp +++ b/YUViewLib/src/common/Functions.cpp @@ -190,7 +190,7 @@ std::optional toUnsigned(const std::string_view text) if (result.ec != std::errc()) return {}; - const auto allCharactersParsed = (result.ptr == text.end()); + const auto allCharactersParsed = (result.ptr == &(*text.end())); if (!allCharactersParsed) return {};