merge some changes from develop branch; modernize and clean-up code; remove support for compiling without POCO_WIN32_UTF8

This commit is contained in:
Günter Obiltschnig
2020-01-09 10:08:09 +01:00
parent 7c177b6f89
commit 1bf40a0cd2
389 changed files with 3029 additions and 4111 deletions

View File

@@ -48,12 +48,19 @@ Session::Session(const std::string& connection,
}
Session::Session(const Session& other): _pImpl(other._pImpl),
Session::Session(const Session& other):
_pImpl(other._pImpl),
_statementCreator(other._pImpl)
{
}
Session::Session(Session&& other) noexcept:
_pImpl(std::move(other._pImpl)),
_statementCreator(std::move(other._pImpl))
{
}
Session::~Session()
{
}
@@ -67,6 +74,14 @@ Session& Session::operator = (const Session& other)
}
Session& Session::operator = (Session&& other) noexcept
{
_pImpl = std::move(other._pImpl);
_statementCreator = std::move(other._statementCreator);
return *this;
}
void Session::swap(Session& other)
{
using std::swap;