From 34dbd03be1476d91230fa0215473cbda41eac95b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 21 Jul 2018 07:04:01 +0200 Subject: [PATCH] SongFilter: convert "tag" to "unsigned" Having this as one-byte integer actually adds overhead and saves no memory due to padding. --- src/SongFilter.hxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/SongFilter.hxx b/src/SongFilter.hxx index a1bec4c62..310beefdf 100644 --- a/src/SongFilter.hxx +++ b/src/SongFilter.hxx @@ -27,8 +27,6 @@ #include #include -#include - /** * Limit the search to files within the given directory. */ @@ -52,7 +50,7 @@ class DetachedSong; class SongFilter { public: class Item { - uint8_t tag; + unsigned tag; std::string value;