Commit 6b89fd61 authored by Max Kellermann's avatar Max Kellermann

song/StringFilter: make MatchWithoutNegation() public

parent 52ce39dc
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <assert.h> #include <assert.h>
inline bool bool
StringFilter::MatchWithoutNegation(const char *s) const noexcept StringFilter::MatchWithoutNegation(const char *s) const noexcept
{ {
#if !CLANG_CHECK_VERSION(3,6) #if !CLANG_CHECK_VERSION(3,6)
......
...@@ -105,7 +105,9 @@ public: ...@@ -105,7 +105,9 @@ public:
gcc_pure gcc_pure
bool Match(const char *s) const noexcept; bool Match(const char *s) const noexcept;
private: /**
* Like Match(), but ignore the "negated" flag.
*/
gcc_pure gcc_pure
bool MatchWithoutNegation(const char *s) const noexcept; bool MatchWithoutNegation(const char *s) const noexcept;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment