song/StringFilter: make MatchWithoutNegation() public

This commit is contained in:
Max Kellermann 2019-03-15 20:30:23 +01:00
parent 52ce39dc3e
commit 6b89fd6100
2 changed files with 4 additions and 2 deletions

View File

@ -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)

View File

@ -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;
}; };