mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 11:31:53 +01:00
code cleanup; fix move ctors and assignment
This commit is contained in:
@@ -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))
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user