From 8e69c9c459600901b998faee80edf654819e2b5b Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 8 Aug 2021 14:16:31 +0100 Subject: Simplify some bits with concepts --- lib/input/mysqlBindings.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/input') diff --git a/lib/input/mysqlBindings.h b/lib/input/mysqlBindings.h index ccf876e..3d1ad7f 100644 --- a/lib/input/mysqlBindings.h +++ b/lib/input/mysqlBindings.h @@ -58,9 +58,8 @@ namespace MyGrate::Input { b.buffer = nullptr; b.is_null = &data.emplace_back(0, 1).null; } - template void - operator()(const T &) + operator()(const auto &) { throw std::logic_error("Not implemented"); } -- cgit v1.2.3