util/IntrusiveList: add enum LinkMode
Compile-time code simplification.
This commit is contained in:
@@ -51,7 +51,7 @@ static constexpr unsigned DEVICE_PLAYLIST = -3;
|
||||
|
||||
class SongFilter;
|
||||
|
||||
struct Directory : IntrusiveListHook {
|
||||
struct Directory : IntrusiveListHook<> {
|
||||
/* Note: the #IntrusiveListHook is protected with the global
|
||||
#db_mutex. Read access in the update thread does not need
|
||||
protection. */
|
||||
|
@@ -39,7 +39,7 @@ class ArchiveFile;
|
||||
* A song file inside the configured music directory. Internal
|
||||
* #SimpleDatabase class.
|
||||
*/
|
||||
struct Song : IntrusiveListHook {
|
||||
struct Song : IntrusiveListHook<> {
|
||||
/* Note: the #IntrusiveListHook is protected with the global
|
||||
#db_mutex. Read access in the update thread does not need
|
||||
protection. */
|
||||
|
Reference in New Issue
Block a user