Skip to content

Commit

Permalink
Fix Windows compile error from last commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
sa666666 committed Aug 1, 2024
1 parent c48f03b commit e31371f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/bspf.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ namespace BSPF
// starting from 'startpos' in the first string
static size_t findIgnoreCase(string_view s1, string_view s2, size_t startpos = 0)
{
const auto *const pos = std::search(s1.cbegin()+startpos, s1.cend(),
const auto pos = std::search(s1.cbegin()+startpos, s1.cend(),
s2.cbegin(), s2.cend(), [](char ch1, char ch2) {
return toupper(static_cast<uInt8>(ch1)) == toupper(static_cast<uInt8>(ch2));
});
Expand Down

0 comments on commit e31371f

Please sign in to comment.