Rename function to be more descriptive

This commit is contained in:
topjohnwu
2020-09-04 06:21:25 -07:00
parent fd5ad91d26
commit c61ec2465f
3 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ struct data_holder {
size_t sz = 0;
using str_pairs = std::initializer_list<std::pair<std::string_view, std::string_view>>;
int patch(str_pairs list);
bool find(std::string_view pattern);
bool contains(std::string_view pattern);
protected:
void consume(data_holder &other);
};