From 23b8c2c0da0317562925d574e774cedb6a93a7ac Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 29 Mar 2025 14:23:35 +0530 Subject: Replace fetchers with fetch methods on router --- src/utils.hpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/utils.hpp') 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 &fetcher) { \ - fetch_##NAME = fetcher; \ - } \ - std::function fetch_##NAME; -- cgit v1.3.1