SongFilter: convert "tag" to "unsigned"
Having this as one-byte integer actually adds overhead and saves no memory due to padding.
This commit is contained in:
parent
42d41647b5
commit
34dbd03be1
@ -27,8 +27,6 @@
|
|||||||
#include <list>
|
#include <list>
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Limit the search to files within the given directory.
|
* Limit the search to files within the given directory.
|
||||||
*/
|
*/
|
||||||
@ -52,7 +50,7 @@ class DetachedSong;
|
|||||||
class SongFilter {
|
class SongFilter {
|
||||||
public:
|
public:
|
||||||
class Item {
|
class Item {
|
||||||
uint8_t tag;
|
unsigned tag;
|
||||||
|
|
||||||
std::string value;
|
std::string value;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user