aboutsummaryrefslogtreecommitdiff
path: root/src/utils.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.hpp')
-rw-r--r--src/utils.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.hpp b/src/utils.hpp
index eace39e..e3de4dc 100644
--- a/src/utils.hpp
+++ b/src/utils.hpp
@@ -15,4 +15,4 @@
void set_##NAME##_fetcher(const std::function<TYPE> &fetcher) { \
fetch_##NAME = fetcher; \
} \
- std::function<qsizetype()> fetch_##NAME = []() { return -1; };
+ std::function<TYPE> fetch_##NAME;