Skip to content

Commit

Permalink
Removing unnecessary inline qualify to pure virtual function (#545)
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire authored Oct 22, 2023
1 parent 74e56aa commit 22f5226
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/ada/url_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ struct url_base {
* @return On failure, it returns zero.
* @see https://url.spec.whatwg.org/#host-parsing
*/
virtual ada_really_inline size_t
parse_port(std::string_view view, bool check_trailing_content) noexcept = 0;
virtual size_t parse_port(std::string_view view,
bool check_trailing_content) noexcept = 0;

virtual ada_really_inline size_t parse_port(std::string_view view) noexcept {
return this->parse_port(view, false);
Expand Down

0 comments on commit 22f5226

Please sign in to comment.