aboutsummaryrefslogtreecommitdiff
path: root/src/utils.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.hpp')
-rw-r--r--src/utils.hpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/utils.hpp b/src/utils.hpp
index e3de4dc..d5d4fc5 100644
--- a/src/utils.hpp
+++ b/src/utils.hpp
@@ -10,9 +10,3 @@
#define DEFINE_GETTER(METHOD, EXPR) \
decltype(auto) METHOD() { return EXPR; }
-
-#define DEFINE_FETCHER(TYPE, NAME) \
- void set_##NAME##_fetcher(const std::function<TYPE> &fetcher) { \
- fetch_##NAME = fetcher; \
- } \
- std::function<TYPE> fetch_##NAME;