summaryrefslogtreecommitdiff
path: root/libodbcpp/odbc-dsn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libodbcpp/odbc-dsn.cpp')
-rw-r--r--libodbcpp/odbc-dsn.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/libodbcpp/odbc-dsn.cpp b/libodbcpp/odbc-dsn.cpp
index 766b0ac..d2802bd 100644
--- a/libodbcpp/odbc-dsn.cpp
+++ b/libodbcpp/odbc-dsn.cpp
@@ -1,13 +1,9 @@
#include "odbc-dsn.h"
-ODBC::DSN::DSN(const std::string & d, const std::string & u, const std::string & p) :
- dsn(d),
- username(u),
- password(p)
-{
-}
-
-ODBC::DSN::~DSN()
+ODBC::DSN::DSN(std::string d, std::string u, std::string p) :
+ dsn(std::move(d)),
+ username(std::move(u)),
+ password(std::move(p))
{
}