summaryrefslogtreecommitdiff
path: root/lib/input
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-06-05 11:09:13 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-06-05 13:05:13 +0100
commit5956203258880a25d1705734e2bf57eb7a60a90c (patch)
treea844a5ce1784ac26cdc1300b7496ad2bcdd7da35 /lib/input
parentGet upstream from DB (diff)
downloadmygrate-5956203258880a25d1705734e2bf57eb7a60a90c.tar.bz2
mygrate-5956203258880a25d1705734e2bf57eb7a60a90c.tar.xz
mygrate-5956203258880a25d1705734e2bf57eb7a60a90c.zip
Wrap DbValue in a class so we can add helpers to it
Diffstat (limited to 'lib/input')
-rw-r--r--lib/input/mysqlBindings.h2
1 files changed, 1 insertions, 1 deletions
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<std::integral T>