We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcdde1a commit bcf361aCopy full SHA for bcf361a
include/skyr/v2/core/url_parser_context.hpp
@@ -205,11 +205,11 @@ class url_parser_context {
205
input_it -= (buffer.size() + 1);
206
}
207
208
- std::string_view still_to_process() const noexcept {
+ [[nodiscard]] auto still_to_process() const noexcept -> std::string_view {
209
return input.substr(std::distance(std::begin(input), input_it));
210
211
212
- bool remaining_starts_with(std::string_view chars) const noexcept {
+ [[nodiscard]] auto remaining_starts_with(std::string_view chars) const noexcept -> bool {
213
return !still_to_process().empty() && still_to_process().substr(1).starts_with(chars);
214
215
0 commit comments