Commit 0c58e611 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

sqlite: Connection: Remove misleading std::move

std::weak_constructor takes a const shared_ptr& so no move will happen
parent 001e0d96
......@@ -216,7 +216,7 @@ Connection::WeakDbContext::~WeakDbContext()
Connection::ThreadSpecificConnection::ThreadSpecificConnection(
std::shared_ptr<Connection> conn )
: m_weakConnection( std::move( conn ) )
: m_weakConnection( conn )
{
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment