mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 03:20:11 +01:00
merge some changes from develop branch; modernize and clean-up code; remove support for compiling without POCO_WIN32_UTF8
This commit is contained in:
@@ -53,6 +53,17 @@ Statement::Statement(const Statement& stmt):
|
||||
}
|
||||
|
||||
|
||||
Statement::Statement(Statement&& stmt) noexcept:
|
||||
_pImpl(std::move(stmt._pImpl)),
|
||||
_async(std::move(stmt._async)),
|
||||
_pResult(std::move(stmt._pResult)),
|
||||
_pAsyncExec(std::move(stmt._pAsyncExec)),
|
||||
_arguments(std::move(stmt._arguments)),
|
||||
_pRowFormatter(std::move(stmt._pRowFormatter))
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Statement::~Statement()
|
||||
{
|
||||
}
|
||||
@@ -66,6 +77,18 @@ Statement& Statement::operator = (const Statement& stmt)
|
||||
}
|
||||
|
||||
|
||||
Statement& Statement::operator = (Statement&& stmt) noexcept
|
||||
{
|
||||
_pImpl = std::move(stmt._pImpl);
|
||||
_async = std::move(stmt._async);
|
||||
_pResult = std::move(stmt._pResult);
|
||||
_pAsyncExec = std::move(stmt._pAsyncExec);
|
||||
_arguments = std::move(stmt._arguments);
|
||||
_pRowFormatter = std::move(stmt._pRowFormatter);
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
void Statement::swap(Statement& other)
|
||||
{
|
||||
using std::swap;
|
||||
|
||||
Reference in New Issue
Block a user