code cleanup; fix move ctors and assignment

This commit is contained in:
Günter Obiltschnig
2020-01-21 17:52:43 +01:00
parent de52e23d12
commit 18adb1e43b
20 changed files with 327 additions and 188 deletions

View File

@@ -48,16 +48,16 @@ Session::Session(const std::string& connection,
}
Session::Session(const Session& other):
Session::Session(const Session& other):
_pImpl(other._pImpl),
_statementCreator(other._pImpl)
_statementCreator(other._statementCreator)
{
}
Session::Session(Session&& other) noexcept:
Session::Session(Session&& other) noexcept:
_pImpl(std::move(other._pImpl)),
_statementCreator(std::move(other._pImpl))
_statementCreator(std::move(other._statementCreator))
{
}