We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7b23476 + 64c16fa commit 5d2e8b9Copy full SHA for 5d2e8b9
src/util/prefix_filter.cpp
@@ -23,7 +23,7 @@ prefix_filtert::prefix_filtert(
23
{
24
}
25
26
-bool prefix_filtert::operator()(const std::string &value)
+bool prefix_filtert::operator()(const std::string &value) const
27
28
if(!included_prefixes.empty())
29
src/util/prefix_filter.h
@@ -27,7 +27,7 @@ class prefix_filtert
/// but doesn't match a prefix in `excluded_prefixes`.
/// An empty vector of `included_prefixes` is treated as 'match all'.
/// An empty vector of `excluded_prefixes` is treated as 'match nothing'.
30
- bool operator()(const std::string &value);
+ bool operator()(const std::string &value) const;
31
32
protected:
33
std::vector<std::string> included_prefixes;
0 commit comments