Skip to content

Commit

Permalink
std::ignore not found fix; #586
Browse files Browse the repository at this point in the history
Not gonna import <tuple> for this
  • Loading branch information
the-moisrex committed Jan 1, 2025
1 parent ff6301f commit 032047e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions webpp/unicode/unicode.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,6 @@ namespace webpp::unicode {
}
}


/**
* Append a code point to a string
* "out" can be an iterator/pointer or a string
Expand Down Expand Up @@ -1317,7 +1316,7 @@ namespace webpp::unicode {
} else if constexpr (UTF8<value_type>) {
// todo: find a better way of doing this:
auto const beg = pos;
stl::ignore = next_char<Iter>(pos, end);
static_cast<void>(next_char<Iter>(pos, end));
return static_cast<SizeT>(pos - beg);
} else {
static_assert_false(value_type, "Invalid iterator.");
Expand Down

0 comments on commit 032047e

Please sign in to comment.