summaryrefslogtreecommitdiff
path: root/libpqpp/pq-command.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpqpp/pq-command.h')
-rw-r--r--libpqpp/pq-command.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libpqpp/pq-command.h b/libpqpp/pq-command.h
index d187645..a99bd72 100644
--- a/libpqpp/pq-command.h
+++ b/libpqpp/pq-command.h
@@ -56,10 +56,10 @@ namespace PQ {
void bindParamF(unsigned int, float) override;
void bindParamS(unsigned int, const Glib::ustring &) override;
- void bindParamS(unsigned int, const std::string_view &) override;
+ void bindParamS(unsigned int, const std::string_view) override;
- void bindParamT(unsigned int, const boost::posix_time::time_duration &) override;
- void bindParamT(unsigned int, const boost::posix_time::ptime &) override;
+ void bindParamT(unsigned int, const boost::posix_time::time_duration) override;
+ void bindParamT(unsigned int, const boost::posix_time::ptime) override;
void bindParamBLOB(unsigned int, const DB::Blob &) override;
@@ -72,8 +72,8 @@ namespace PQ {
Connection * const c;
void paramsAtLeast(unsigned int);
- template<typename... T> void paramSet(unsigned int, const T &... t);
- void paramSet(unsigned int, const std::string_view &);
+ template<typename... T> void paramSet(unsigned int, T &&... t);
+ void paramSet(unsigned int, const std::string_view);
std::vector<const char *> values;
std::vector<int> lengths;
std::vector<int> formats;