SongFilter: make locate_parse_type() static
This commit is contained in:
parent
42ec67168a
commit
8661a51aba
@ -44,7 +44,11 @@
|
|||||||
#define LOCATE_TAG_FILE_KEY_OLD "filename"
|
#define LOCATE_TAG_FILE_KEY_OLD "filename"
|
||||||
#define LOCATE_TAG_ANY_KEY "any"
|
#define LOCATE_TAG_ANY_KEY "any"
|
||||||
|
|
||||||
unsigned
|
/**
|
||||||
|
* @return #TAG_NUM_OF_ITEM_TYPES on error
|
||||||
|
*/
|
||||||
|
gcc_pure
|
||||||
|
static unsigned
|
||||||
locate_parse_type(const char *str) noexcept
|
locate_parse_type(const char *str) noexcept
|
||||||
{
|
{
|
||||||
if (StringEqualsCaseASCII(str, LOCATE_TAG_FILE_KEY) ||
|
if (StringEqualsCaseASCII(str, LOCATE_TAG_FILE_KEY) ||
|
||||||
|
@ -280,11 +280,4 @@ public:
|
|||||||
SongFilter WithoutBasePrefix(const char *prefix) const noexcept;
|
SongFilter WithoutBasePrefix(const char *prefix) const noexcept;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* @return #TAG_NUM_OF_ITEM_TYPES on error
|
|
||||||
*/
|
|
||||||
gcc_pure
|
|
||||||
unsigned
|
|
||||||
locate_parse_type(const char *str) noexcept;
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user