diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-03-29 14:23:35 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-03-29 15:58:20 +0530 |
| commit | 23b8c2c0da0317562925d574e774cedb6a93a7ac (patch) | |
| tree | 0704ffda4e8f2f1b442fd9fc6b31e025b4a4521e /src/utils.hpp | |
| parent | ed15eba453b7ddd0f4962c2d381fe40751973131 (diff) | |
| download | null-browser-23b8c2c0da0317562925d574e774cedb6a93a7ac.tar.gz null-browser-23b8c2c0da0317562925d574e774cedb6a93a7ac.zip | |
Replace fetchers with fetch methods on router
Diffstat (limited to 'src/utils.hpp')
| -rw-r--r-- | src/utils.hpp | 6 |
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; |
