summaryrefslogtreecommitdiff
path: root/libodbcpp/odbc-param.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-03-17 19:45:15 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-03-17 19:45:15 +0000
commit704dd8c7ecedb68161c52329e22141877143ff13 (patch)
tree0f803a65439b03fc66f523d3d311ed842d66e716 /libodbcpp/odbc-param.h
parentenum class BulkUpdates (diff)
downloadlibdbpp-odbc-704dd8c7ecedb68161c52329e22141877143ff13.tar.bz2
libdbpp-odbc-704dd8c7ecedb68161c52329e22141877143ff13.tar.xz
libdbpp-odbc-704dd8c7ecedb68161c52329e22141877143ff13.zip
Lots of pass by value and perfect forwarding optimisationsHEADlibdbpp-odbc-1.4.7main
Diffstat (limited to 'libodbcpp/odbc-param.h')
-rw-r--r--libodbcpp/odbc-param.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libodbcpp/odbc-param.h b/libodbcpp/odbc-param.h
index 32d3f99..4169a64 100644
--- a/libodbcpp/odbc-param.h
+++ b/libodbcpp/odbc-param.h
@@ -223,7 +223,7 @@ namespace ODBC {
{
return data.data();
}
- StdStringParam & operator=(const std::string_view & d);
+ StdStringParam & operator=(const std::string_view d);
StdStringParam & operator=(const Glib::ustring & d);
protected:
@@ -261,7 +261,7 @@ namespace ODBC {
{
return &data;
}
- IntervalParam & operator=(const boost::posix_time::time_duration & d);
+ IntervalParam & operator=(const boost::posix_time::time_duration d);
protected:
SQL_INTERVAL_STRUCT data;
@@ -298,7 +298,7 @@ namespace ODBC {
{
return &data;
}
- TimeStampParam & operator=(const boost::posix_time::ptime & d);
+ TimeStampParam & operator=(const boost::posix_time::ptime d);
protected:
SQL_TIMESTAMP_STRUCT data;