From 139580ad242c753b671fc09b26e24c60321c5084 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 24 Feb 2019 21:27:58 +0000 Subject: Don't use auto in traits binder, difficult to specialize --- libdbpp/command.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libdbpp/command.h b/libdbpp/command.h index 09377a9..8e06a7c 100644 --- a/libdbpp/command.h +++ b/libdbpp/command.h @@ -105,7 +105,7 @@ namespace DB { /// Bind a parameter by type based on C++ traits to parameter i. template - inline auto bindParam(unsigned int i, const O & o) + inline void bindParam(unsigned int i, const O & o) { if constexpr (std::is_null_pointer::value) { bindNull(i); -- cgit v1.2.3