Skip to content

Commit

Permalink
Compilation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianFeldmann committed Jul 28, 2024
1 parent 75517d4 commit 2d98b70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion YUViewLib/src/common/Functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ std::optional<unsigned long> 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 {};

Expand Down

0 comments on commit 2d98b70

Please sign in to comment.