diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-02-24 21:27:58 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-02-24 21:28:31 +0000 |
commit | 139580ad242c753b671fc09b26e24c60321c5084 (patch) | |
tree | d07f3c51c8d15b91f9c3ca10d739508a6544ebfb | |
parent | Add libdbpp-odbc submodule (diff) | |
download | libdbpp-139580ad242c753b671fc09b26e24c60321c5084.tar.bz2 libdbpp-139580ad242c753b671fc09b26e24c60321c5084.tar.xz libdbpp-139580ad242c753b671fc09b26e24c60321c5084.zip |
Don't use auto in traits binder, difficult to specialize
-rw-r--r-- | libdbpp/command.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<typename O> - inline auto bindParam(unsigned int i, const O & o) + inline void bindParam(unsigned int i, const O & o) { if constexpr (std::is_null_pointer<O>::value) { bindNull(i); |