summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-07-05 10:18:00 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-07-05 10:24:19 +0200
commitefe55a71f80c9abdf9087620b6d195b85870e92c (patch)
tree04d4f4bf6bab3b4e73b40377bef5ea8fe5ef8d8c /compat
parentddad328eca747306e594b74db9118085021b20b2 (diff)
compat: don't declare templated function static
Diffstat (limited to 'compat')
-rw-r--r--compat/process-list.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/compat/process-list.hpp b/compat/process-list.hpp
index 5e175210..d1f9999f 100644
--- a/compat/process-list.hpp
+++ b/compat/process-list.hpp
@@ -133,8 +133,9 @@ static QStringList get_all_executable_names()
#include <proc/readproc.h>
#include <cerrno>
+
template<typename = void>
-static QStringList get_all_executable_names()
+QStringList get_all_executable_names()
{
QStringList ret;
proc_t** procs = readproctab(PROC_FILLCOM);