rename ExecItem to RunnableItem and make use of variadic templates

This commit is contained in:
Andrzej Rybczak
2014-08-31 09:16:37 +02:00
parent 5d6d390f77
commit 966f3ef927
7 changed files with 22 additions and 16 deletions

View File

@@ -22,7 +22,7 @@
#define NCMPCPP_UTILITY_COMPARATORS_H
#include <string>
#include "exec_item.h"
#include "runnable_item.h"
#include "mpdpp.h"
#include "settings.h"
#include "menu.h"
@@ -60,7 +60,7 @@ public:
}
template <typename ItemT, typename FunT>
bool operator()(const ExecItem<ItemT, FunT> &a, const ExecItem<ItemT, FunT> &b) const {
bool operator()(const RunnableItem<ItemT, FunT> &a, const RunnableItem<ItemT, FunT> &b) const {
return m_cmp(a.item(), b.item()) < 0;
}
};