From 796461dd432df0a750e260499c53dd5d7e59105f Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 4 Sep 2025 19:45:21 +0100 Subject: Move DeleteWith helper in src/util --- test/test-util.hpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'test/test-util.hpp') diff --git a/test/test-util.hpp b/test/test-util.hpp index 3338c5e..b0ae0dd 100644 --- a/test/test-util.hpp +++ b/test/test-util.hpp @@ -4,6 +4,7 @@ #include #include #include +#include namespace WebStat { #define XSTR(s) STR(s) @@ -12,10 +13,6 @@ namespace WebStat { #undef XSTR #undef STR - template - using DeleteWith = decltype([](auto obj) { - return Deleter(obj); - }); using FilePtr = std::unique_ptr>; struct MockDB : public DB::PluginMock { -- cgit v1.2.3