Commit 34dbd03b authored by Max Kellermann's avatar Max Kellermann

SongFilter: convert "tag" to "unsigned"

Having this as one-byte integer actually adds overhead and saves no memory due to padding.
parent 42d41647
...@@ -27,8 +27,6 @@ ...@@ -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; ...@@ -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;
......
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