Skip to content

Commit

Permalink
fix: make clear_pathname private
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig committed Aug 29, 2023
1 parent 89ca465 commit 9b22543
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion fuzz/parse.cc
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {

// clear methods
out_aggregator->clear_port();
out_aggregator->clear_pathname();
out_aggregator->clear_search();
out_aggregator->clear_hash();
}
Expand Down
2 changes: 1 addition & 1 deletion include/ada/url_aggregator.h
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ struct url_aggregator : url_base {

inline void clear_port();
inline void clear_hash();
inline void clear_pathname() override;
inline void clear_search() override;

private:
Expand Down Expand Up @@ -277,6 +276,7 @@ struct url_aggregator : url_base {
inline uint32_t retrieve_base_port() const;
inline void clear_hostname();
inline void clear_password();
inline void clear_pathname() override;
inline bool has_dash_dot() const noexcept;
void delete_dash_dot();
inline void consume_prepared_path(std::string_view input);
Expand Down

0 comments on commit 9b22543

Please sign in to comment.