From 5956203258880a25d1705734e2bf57eb7a60a90c Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 5 Jun 2021 11:09:13 +0100 Subject: Wrap DbValue in a class so we can add helpers to it --- lib/input/mysqlBindings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/input') diff --git a/lib/input/mysqlBindings.h b/lib/input/mysqlBindings.h index dcb3ebf..569aeb5 100644 --- a/lib/input/mysqlBindings.h +++ b/lib/input/mysqlBindings.h @@ -23,7 +23,7 @@ namespace MyGrate::Input { binds.reserve(vs.size()); data.reserve(vs.size()); for (const auto & v : vs) { - std::visit(*this, v); + v.visit(*this); } } template -- cgit v1.2.3